PdfPageChangedEventArgs Class
Definition
Provides data for the Avalonia.Controls.PdfViewer.PageChanged event.
public class PdfPageChangedEventArgs
Constructors
| Name | Description |
|---|---|
| PdfPageChangedEventArgs | Initializes a new instance of the Avalonia.Controls.PdfPageChangedEventArgs class. |
PdfPageChangedEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.PdfPageChangedEventArgs class.
public PdfPageChangedEventArgs(int oldPage, int newPage)
Parameters
oldPage int
newPage int
Properties
| Name | Description |
|---|---|
| NewPage | Gets the 1-based page number that is now current. |
| OldPage | Gets the 1-based page number that was previously current (0 if none). |
NewPage Property
Gets the 1-based page number that is now current.
public int NewPage { get; set; }
OldPage Property
Gets the 1-based page number that was previously current (0 if none).
public int OldPage { get; set; }