_PrintPageEventArgs Type

Provides data for the OnPrintPage event.

Namespace: CNClrLib.Component.PrintDocument
type
 _PrintPageEventArgs = CNClrLib.Drawing._PrintPageEventArgs;

The MarginBounds property retrieves the rectangular area that represents the portion of the page between the margins. The PageBounds property retrieves the rectangular area that represents the total area of the page. The Graphics property defines the graphics object with which to do the painting. The PageSettings property retrieves the printer settings for the current page. The remaining properties indicate whether a print job should be canceled or whether a print job has more pages.

For more information, see PrintPageEventArgs in C#.

Properties
Description

Cancel

Gets or sets a value indicating whether the print job should be canceled

Graphics

Gets the Graphics used to paint the page.

HasMorePages

Gets or sets a value indicating whether an additional page should be printed.

MarginBounds

Gets the rectangular area that represents the portion of the page inside the margins.

PageBounds

Gets the rectangular area that represents the total area of the page.

PageSettings

Gets the page settings for the current page.