2002-9-2 DennisHayes <dennish@raytek.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing.Printing / PrintPageEventArgs.cs
1 //\r
2 // System.Drawing.PrintPageEventArgs.cs\r
3 //\r
4 // Author:\r
5 //   Dennis Hayes (dennish@Raytek.com)\r
6 //\r
7 // (C) 2002 Ximian, Inc\r
8 //\r
9 using System;\r
10 using System.Drawing;\r
11 namespace System.Drawing.Printing {\r
12         /// <summary>\r
13         /// Summary description for PrintPageEventArgs.\r
14         /// </summary>\r
15         public class PrintPageEventArgs : EventArgs {\r
16                 bool cancel;\r
17                 //Graphics graphics;\r
18                 bool hasmorePages;\r
19                 //Rectangle marginBounds;\r
20                 //Rectangle pageBounds;\r
21                 PageSettings pageSettings;\r
22 \r
23 //              public PrintPageEventArgs(Graphics graphics, rectangle marginBounds,\r
24 //                      Rectangle pageBounds, PageSettings pageSettings) {\r
25 //              }\r
26                 public bool Cancel {\r
27                         get{\r
28                                 return cancel;\r
29                         }\r
30                         set{\r
31                                 cancel = value;\r
32                         }\r
33                 }\r
34 //              public Graphics Graphics {\r
35 //                      get{\r
36 //                              return graphics;\r
37 //                      }\r
38 //                      set{\r
39 //                              graphics = value;\r
40 //                      }\r
41 //              }\r
42                 public bool HasMorePages {\r
43                         get{\r
44                                 return HasMorePages;\r
45                         }\r
46                         set{\r
47                                 HasMorePages = value;\r
48                         }\r
49                 }\r
50 //              public Rectangle MarginBounds {\r
51 //                      get{\r
52 //                return marginBounds;\r
53 //                      }\r
54 //                      set{\r
55 //                              marginBounds = value;\r
56 //                      }\r
57 //              }\r
58 //              public Rectangle PageBounds {\r
59 //                      get{\r
60 //                              return pageBounds;\r
61 //                      }\r
62 //                      set{\r
63 //                              pageBounds = value;\r
64 //                      }\r
65 //              }\r
66                 public PageSettings PageSettings {\r
67                         get{\r
68                                 return pageSettings;\r
69                         }\r
70                         set{\r
71                                 pageSettings = value;\r
72                         }\r
73                 }\r
74 }\r
75 }\r