FileDocumentSource
Represents a PDF document source that loads documents from a file path.
Definition
Namespace:Telerik.Maui.Controls.PdfViewer
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class FileDocumentSource : DocumentSource, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseDocumentSourceFileDocumentSource
Implements:
Inherited Members
Constructors
Initializes a new instance of the FileDocumentSource class.
public FileDocumentSource()
Initializes a new instance of the FileDocumentSource class with the specified file path and import mode.
Properties
Gets or sets the path to the PDF file.
Gets or sets a value indicating whether the document import should be performed asynchronously.
public bool IsImportAsync { get; set; }
true if the import is asynchronous; otherwise, false.
Operators
Performs an implicit conversion from string to FileDocumentSource.
public static implicit operator FileDocumentSource(string filePath)
The file path to convert.
Returns:A new FileDocumentSource instance with the specified file path.