Class PdfFormatProvider
Imports and exports RadFixedDocument to and from PDF, supporting both all-at-once and on-demand reading.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.FormatProviders.Pdf
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class PdfFormatProvider : BinaryFormatProviderBase<RadFixedDocument>, IFormatProvider<RadFixedDocument>, IBinaryFormatProvider<RadFixedDocument>
Constructors
PdfFormatProvider()
Creates a provider with default import and export settings.
Declaration
public PdfFormatProvider()
Properties
CanExport
Gets a value indicating whether exporting to PDF is supported.
Declaration
public override bool CanExport { get; }
Property Value
|
System.Boolean
The value indicating whether can export. |
Overrides
CanImport
Gets a value indicating whether importing from PDF is supported.
Declaration
public override bool CanImport { get; }
Property Value
|
System.Boolean
The value indicating whether can import. |
Overrides
ExportSettings
Gets or sets PDF export settings used when writing documents.
Declaration
public PdfExportSettings ExportSettings { get; set; }
Property Value
|
PdfExportSettings
The export settings. |
ImportSettings
Gets or sets PDF import settings, including reading mode and execution behavior.
Declaration
public PdfImportSettings ImportSettings { get; set; }
Property Value
|
PdfImportSettings
The import settings. |
SupportedExtensions
Gets the file extensions this provider can process.
Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
|
System.Collections.Generic.IEnumerable<System.String>
The supported extensions. |
Overrides
Methods
ExportOverride(RadFixedDocument, Stream)
Exports the specified document.
Declaration
[Obsolete("This method is obsolete. Please use ExportOverride(RadFixedDocument document, Stream output, CancellationToken cancellationToken) instead.")]
protected override void ExportOverride(RadFixedDocument document, Stream output)
Parameters
|
RadFixedDocument
document
The document to export. |
|
System.IO.Stream
output
The output. |
Overrides
ExportOverride(RadFixedDocument, Stream, CancellationToken)
Exports the specified document.
Declaration
protected override void ExportOverride(RadFixedDocument document, Stream output, CancellationToken cancellationToken)
Parameters
|
RadFixedDocument
document
The document to export. |
|
System.IO.Stream
output
The output. |
|
System.Threading.CancellationToken
cancellationToken
The cancellation token used to cancel the operation. |
Overrides
ImportOverride(Stream)
Imports the specified input.
Declaration
[Obsolete("This method is obsolete. Please use ImportOverride(Stream input, CancellationToken cancellationToken) instead.")]
protected override RadFixedDocument ImportOverride(Stream input)
Parameters
|
System.IO.Stream
input
The input. |
Returns
|
RadFixedDocument
The imported document. |
Overrides
ImportOverride(Stream, CancellationToken)
Imports the specified input.
Declaration
protected override RadFixedDocument ImportOverride(Stream input, CancellationToken cancellationToken)
Parameters
|
System.IO.Stream
input
The input. |
|
System.Threading.CancellationToken
cancellationToken
The cancellation token used to cancel the operation. |
Returns
|
RadFixedDocument
The imported document. |