Table of Contents

Class PrintPageEventArgs

Namespace
Alternet.Drawing.Printing
Assembly
Alternet.UI.Common.dll

Provides data for the PrintPage event.

public class PrintPageEventArgs : CancelEventArgs
Inheritance
PrintPageEventArgs

Remarks

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.

Properties

DrawingContext

Gets the DrawingContext 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, in device-independent units.

PageBounds

Gets the rectangular area that represents the portion of the page inside the margins, in device-independent units.

PageNumber

Gets the 1-based number of the page being printed.

PhysicalPageBounds

Gets the rectangular area that represents the total area of the page, in millimeters.

PrintablePageBounds

Gets the rectangular area that represents the printable portion of the page, in device-independent units.