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
| Name | Type | Access | Description |
|---|---|---|---|
PageNumber | int | Read/Write | The 1-based page of the document being printed. |
Cancel | bool | Read/Write | Set by a handler to abandon the rest of the job. |
CurrentPage | int | Read | 1-based position of this page within the printed range. |
TotalPages | int | Read | Number of pages in the printed range - per copy, not in total. |
CurrentCopy | int | Read | 1-based number of the copy being printed. |
TotalCopies | int | Read | Number of copies the job prints. |
Methods
| Signature | Description |
|---|---|
StartEndPageEventArgs() | Creates args for page zero. |
StartEndPageEventArgs(pageNumber: int) | Creates args for the given document page, as the only page of a single copy. |