ClassPdfFormatProvider
Represents a format provider that can export PDF documents from a RadDocument.
Definition
Namespace:Telerik.Windows.Documents.FormatProviders.Pdf
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class PdfFormatProvider : DocumentFormatProviderBase, IDocumentFormatProvider, IUIElementMeasuringFormatProvider, IConfigurablePdfFormatProvider
Inheritance: objectDocumentFormatProviderBasePdfFormatProvider
Implements:
Inherited Members
Constructors
PdfFormatProvider()
Initializes a new instance of the PdfFormatProvider class.
Declaration
public PdfFormatProvider()
Properties
CanExport
Gets a value indicating whether this instance can export.
Declaration
public override bool CanExport { get; }
Property Value
true if this instance can export; otherwise, false.
Overrides
CanImport
Gets a value indicating whether this instance can import.
Declaration
public override bool CanImport { get; }
Property Value
true if this instance can import; otherwise, false.
Overrides
ExportSettings
Gets or sets the settings which will be used while exporting a document.
Declaration
public PdfExportSettings ExportSettings { get; set; }
Property Value
The export settings.
Implements
MeasuringPanel
Gets the name of the panel used by this format provider to arrange the document contents.
Declaration
public Panel MeasuringPanel { get; set; }
Property Value
Panel
The panel.
Implements
Name
Gets the name of the specific format provider.
Declaration
public override string Name { get; }
Property Value
The name.
Overrides
SupportedExtensions
Gets the extensions supported by this format provider.
Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
The supported extensions.
Overrides
Methods
Export(RadDocument, Stream)
Exports the specified RadDocument instance.
Declaration
public override void Export(RadDocument document, Stream output)
Parameters
document
The document.
output
The Stream the document should be saved into.
Overrides
Import(Stream)
Imports the specified Stream into a RadDocument instance.
Not supported in PdfFormatProvider.
Declaration
public override RadDocument Import(Stream input)
Parameters
input
The Stream containing the document data.
Returns
The generated RadDocument instance.
Overrides