Class PdfFormatProvider
Represents a format provider that can export PDF documents from a RadDocument.
Inherited Members
Namespace: Telerik.WinForms.Documents.FormatProviders.Pdf
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class PdfFormatProvider : DocumentFormatProviderBase, IDocumentFormatProvider, IUIElementMeasuringFormatProvider, IConfigurablePdfFormatProvider
Constructors
PdfFormatProvider()
Properties
CanExport
Gets a value indicating whether this instance can export.
Declaration
public override bool CanExport { get; }
Property Value
System.Boolean
|
Overrides
CanImport
Gets a value indicating whether this instance can import.
Declaration
public override bool CanImport { get; }
Property Value
System.Boolean
|
Overrides
ExportSettings
Gets or sets the settings which will be used while exporting a document.
Declaration
public PdfExportSettings ExportSettings { get; set; }
Property Value
PdfExportSettings
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
System.String
The name. |
Overrides
SupportedExtensions
Gets the extensions supported by this format provider.
Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
The supported extensions. |
Overrides
Methods
Export(RadDocument, Stream)
Exports the specified RadDocument instance.
Declaration
public override void Export(RadDocument document, Stream output)
Parameters
RadDocument
document
The document. |
System.IO.Stream
output
The System.IO.Stream the document should be saved into. |
Overrides
Import(Stream)
Imports the specified System.IO.Stream into a RadDocument instance.
Not supported in PdfFormatProvider.
Declaration
public override RadDocument Import(Stream input)
Parameters
System.IO.Stream
input
The System.IO.Stream containing the document data. |
Returns
RadDocument
The generated RadDocument instance. |