Class
PdfFormatProvider

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

Definition

Constructors

PdfFormatProvider()

Creates a provider with default import and export settings.

Declaration

cs-api-definition
public PdfFormatProvider()

Properties

CanExport

Gets a value indicating whether exporting to PDF is supported.

Declaration

cs-api-definition
public override bool CanExport { get; }

Property Value

bool

The value indicating whether can export.

Overrides FormatProviderBase<RadFixedDocument>.CanExport

CanImport

Gets a value indicating whether importing from PDF is supported.

Declaration

cs-api-definition
public override bool CanImport { get; }

Property Value

bool

The value indicating whether can import.

Overrides FormatProviderBase<RadFixedDocument>.CanImport

ExportSettings

Gets or sets PDF export settings used when writing documents.

Declaration

cs-api-definition
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

cs-api-definition
public PdfImportSettings ImportSettings { get; set; }

Property Value

PdfImportSettings

The import settings.

SupportedExtensions

Gets the file extensions this provider can process.

Declaration

cs-api-definition
public override IEnumerable<string> SupportedExtensions { get; }

Property Value

IEnumerable<string>

The supported extensions.

Overrides FormatProviderBase<RadFixedDocument>.SupportedExtensions

Methods

ExportOverride(RadFixedDocument, Stream, CancellationToken)

Exports the specified document.

Declaration

cs-api-definition
protected override void ExportOverride(RadFixedDocument document, Stream output, CancellationToken cancellationToken)

Parameters

document

RadFixedDocument

The document to export.

output

Stream

The output.

cancellationToken

CancellationToken

The cancellation token used to cancel the operation.

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

ImportOverride(Stream, CancellationToken)

Imports the specified input.

Declaration

cs-api-definition
protected override RadFixedDocument ImportOverride(Stream input, CancellationToken cancellationToken)

Parameters

input

Stream

The input.

cancellationToken

CancellationToken

The cancellation token used to cancel the operation.

Returns

RadFixedDocument

The imported document.

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