Represents a fixed document source, which can load a document from URI or stream.
Definition
Namespace:Telerik.Windows.Documents.Fixed
Assembly:Telerik.Windows.Controls.FixedDocumentViewers.dll
Syntax:
public abstract class FixedDocumentStreamSource
Inheritance: objectFixedDocumentStreamSource
Derived Classes:
Constructors
Initializes a new instance of the FixedDocumentStreamSource class.
protected FixedDocumentStreamSource(Stream stream, PdfImportSettings settings)
The stream from which to load the fixed document.
settingsPdfImportSettingsThe settings.
Initializes a new instance of the FixedDocumentStreamSource class.
protected FixedDocumentStreamSource(Uri uri, PdfImportSettings settings)
The URI from which to load the fixed document.
settingsPdfImportSettingsThe settings.
Properties
Document
RadFixedDocument
Gets the fixed document loaded from this instance.
public RadFixedDocument Document { get; }
Methods
Ensures that any unmanaged resources are released when object instance is finalized.
protected ~FixedDocumentStreamSource()
CreateDocumentFromStreamOverride(Stream, PdfImportSettings)
RadFixedDocument
Creates the document from a stream.
protected abstract RadFixedDocument CreateDocumentFromStreamOverride(Stream stream, PdfImportSettings settings)
The stream from which to create the document.
settingsPdfImportSettingsThe settings.
Returns:RadFixedDocument
Events
DocumentUnhandledException
EventHandler<DocumentUnhandledExceptionEventArgs>
Occurs when unhandled exception is thrown during document import.
public event EventHandler<DocumentUnhandledExceptionEventArgs> DocumentUnhandledException
Occurs when document is loaded. It can be loaded asynchronously in case the provided URI is absolute.
public event EventHandler Loaded