PdfShareRequestedEventArgs Class
Definition
Raised before the viewer shares. Set Avalonia.Controls.PdfShareRequestedEventArgs.Handled to take over sharing in the application; the built-in platform share service is then skipped.
public class PdfShareRequestedEventArgs
Methods
| Name | Description |
|---|---|
| GetDocumentBytesAsync | Exports the document, including unsaved annotation edits, as PDF bytes. |
GetDocumentBytesAsync Method
Exports the document, including unsaved annotation edits, as PDF bytes.
public System.Threading.Tasks.Task<byte[]> GetDocumentBytesAsync(System.Threading.CancellationToken cancellationToken)