| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- //
- // System.Drawing.PrintPageEventArgs.cs
- //
- // Author:
- // Dennis Hayes ([email protected])
- //
- // (C) 2002 Ximian, Inc
- //
- using System;
- using System.Drawing;
- namespace System.Drawing.Printing {
- /// <summary>
- /// Summary description for PrintPageEventArgs.
- /// </summary>
- public class PrintPageEventArgs : EventArgs {
- bool cancel;
- //Graphics graphics;
- bool hasmorePages;
- //Rectangle marginBounds;
- //Rectangle pageBounds;
- PageSettings pageSettings;
- // public PrintPageEventArgs(Graphics graphics, rectangle marginBounds,
- // Rectangle pageBounds, PageSettings pageSettings) {
- // }
- public bool Cancel {
- get{
- return cancel;
- }
- set{
- cancel = value;
- }
- }
- // public Graphics Graphics {
- // get{
- // return graphics;
- // }
- // set{
- // graphics = value;
- // }
- // }
- public bool HasMorePages {
- get{
- return HasMorePages;
- }
- set{
- HasMorePages = value;
- }
- }
- // public Rectangle MarginBounds {
- // get{
- // return marginBounds;
- // }
- // set{
- // marginBounds = value;
- // }
- // }
- // public Rectangle PageBounds {
- // get{
- // return pageBounds;
- // }
- // set{
- // pageBounds = value;
- // }
- // }
- public PageSettings PageSettings {
- get{
- return pageSettings;
- }
- set{
- pageSettings = value;
- }
- }
- }
- }
|