StartEndPageEventArgs

StartEndPageEventArgs

Overview

StartEndPageEventArgs is a class in Aspose.PDF FOSS for .NET. Inherits from: EventArgs.

Event args raised by PdfViewer.StartPage and PdfViewer.EndPage.

This class declares 2 methods for StartEndPageEventArgs objects in .NET programs. Available methods include: StartEndPageEventArgs. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Cancel, CurrentCopy, CurrentPage, PageNumber, TotalCopies, TotalPages.

Properties

NameTypeAccessDescription
PageNumberintRead/WriteThe 1-based page of the document being printed.
CancelboolRead/WriteSet by a handler to abandon the rest of the job.
CurrentPageintRead1-based position of this page within the printed range.
TotalPagesintReadNumber of pages in the printed range - per copy, not in total.
CurrentCopyintRead1-based number of the copy being printed.
TotalCopiesintReadNumber of copies the job prints.

Methods

SignatureDescription
StartEndPageEventArgs()Creates args for page zero.
StartEndPageEventArgs(pageNumber: int)Creates args for the given document page, as the only page of a single copy.

See Also

 English