'Declaration Public Event AdjustPrintPage As AdjustPrintPageEventHandler
public event AdjustPrintPageEventHandler AdjustPrintPage
Event Data
The event handler receives an argument of type AdjustPrintPageEventArgs containing data related to this event. The following AdjustPrintPageEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Handled | Gets or sets a value indicating whether the event hanlder has printed the page, or whether the caller (print manager) should print the page as usual.
The default is false. |
PageImage | Gets the current page image (usually this is a System.Drawing.Imaging.Metafile). |
PrintableArea | Gets or sets the physical printable area of the printer, in hundredths of an inch. When the event is fired, this property contains the printable area of the printer as returned by the printer driver, rotated if landscape printing. You may want to adjust this property e.g. to compensate for a buggy printer driver reporting incorrect hard margins. |
PrintManager | Gets the print manager object that is printing the document. |
PrintPageEventArgs | Gets the PrintPageEventArgs object passed into the PrintPage event handler of the print manager. |
See Also