PdfDocumentLoadedEventArgs Class
Definition
Event arguments for document loaded event.
public class PdfDocumentLoadedEventArgs
Constructors
| Name | Description |
|---|---|
| PdfDocumentLoadedEventArgs | Initializes a new instance of the Avalonia.Controls.PdfDocumentLoadedEventArgs class. |
PdfDocumentLoadedEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.PdfDocumentLoadedEventArgs class.
public PdfDocumentLoadedEventArgs(int pageCount, Avalonia.Controls.Pdf.Core.PdfMetadata metadata)
Parameters
pageCount int
The number of pages in the loaded document.
metadata Avalonia.Controls.Pdf.Core.PdfMetadata
The document's metadata.
Properties
| Name | Description |
|---|---|
| Metadata | Gets the loaded document's metadata (title, author, subject, and so on). |
| PageCount | Gets the number of pages in the loaded document. |
Metadata Property
Gets the loaded document's metadata (title, author, subject, and so on).
public Avalonia.Controls.Pdf.Core.PdfMetadata Metadata { get; set; }
PageCount Property
Gets the number of pages in the loaded document.
public int PageCount { get; set; }