PrintPageEventArgs.cs 1.4 KB

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