コード例 #1
0
 static PrintPage()
 {
     _a3_portrait = new PrintPage {
         ExtentWidth = 96 * 11.7, ExtentHeight = 96 * 15.0, MediaWidth = 96 * 11.7, MediaHeight = 96 * 16.5, Bleed = 96 * 0.75
     };
     _a3_landscape = new PrintPage {
         ExtentWidth = 96 * 15.0, ExtentHeight = 96 * 10.2, MediaWidth = 96 * 16.5, MediaHeight = 96 * 11.7, Bleed = 96 * 0.75
     };
     _a4_portrait = new PrintPage {
         ExtentWidth = 96 * 8.27, ExtentHeight = 96 * 10.7, MediaWidth = 96 * 8.27, MediaHeight = 96 * 11.7, Bleed = 96 * 0.5
     };
     _a4_landscape = new PrintPage {
         ExtentWidth = 96 * 10.7, ExtentHeight = 96 * 7.27, MediaWidth = 96 * 11.7, MediaHeight = 96 * 8.27, Bleed = 96 * 0.5
     };
 }
コード例 #2
0
 static PrintManager()
 {
     Page = PrintPage.A3_Portrait;
 }