New to Telerik Document Processing? Start a free 30-day trial

Imports and exports RadFixedDocument to and from PDF, supporting both all-at-once and on-demand reading.

Definition

Constructors

Creates a provider with default import and export settings.

C#
public PdfFormatProvider()

Properties

Gets a value indicating whether exporting to PDF is supported.

C#
public override bool CanExport { get; }
Property Value:

The value indicating whether can export.

Overrides: FormatProviderBase<RadFixedDocument>.CanExport

Gets a value indicating whether importing from PDF is supported.

C#
public override bool CanImport { get; }
Property Value:

The value indicating whether can import.

Overrides: FormatProviderBase<RadFixedDocument>.CanImport

Gets or sets PDF export settings used when writing documents.

C#
public PdfExportSettings ExportSettings { get; set; }
Property Value:

The export settings.

Gets or sets PDF import settings, including reading mode and execution behavior.

C#
public PdfImportSettings ImportSettings { get; set; }
Property Value:

The import settings.

Gets the file extensions this provider can process.

C#
public override IEnumerable<string> SupportedExtensions { get; }
Property Value:

The supported extensions.

Overrides: FormatProviderBase<RadFixedDocument>.SupportedExtensions

Methods

Exports the specified document.

C#
protected override void ExportOverride(RadFixedDocument document, Stream output, CancellationToken cancellationToken)
Parameters:documentRadFixedDocument

The document to export.

outputStream

The output.

cancellationTokenCancellationToken

The cancellation token used to cancel the operation.

Overrides: FormatProviderBase<RadFixedDocument>.ExportOverride(RadFixedDocument, Stream, CancellationToken)

Imports the specified input.

C#
protected override RadFixedDocument ImportOverride(Stream input, CancellationToken cancellationToken)
Parameters:inputStream

The input.

cancellationTokenCancellationToken

The cancellation token used to cancel the operation.

Returns:

RadFixedDocument

The imported document.

Overrides: FormatProviderBase<RadFixedDocument>.ImportOverride(Stream, CancellationToken)