Class RtfFormatProvider
Represents a format provider that can import and export RTF documents from/to Rad
Inherited Members
Namespace: Telerik.Windows.Documents.FormatProviders.Rtf
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class RtfFormatProvider : DocumentFormatProviderBase, IConfigurableRtfFormatProvider, ITextBasedDocumentFormatProvider, IDocumentFormatProvider
Constructors
RtfFormatProvider()
Properties
CanExport
Gets a value indicating whether this instance can export.
Declaration
public override bool CanExport { get; }
Property Value
System.
|
Overrides
Implements
CanImport
Gets a value indicating whether this instance can import.
Declaration
public override bool CanImport { get; }
Property Value
System.
|
Overrides
Implements
ExportSettings
Gets or sets the settings used while exporting content.
Declaration
public RtfExportSettings ExportSettings { get; set; }
Property Value
Rtf The export settings. |
Implements
FilesDescription
Gets the description of the supported file formats.
Declaration
public override string FilesDescription { get; }
Property Value
System. The files description. |
Overrides
Implements
ImportSettings
Gets or sets the settings used while importing content.
Declaration
public RtfImportSettings ImportSettings { get; set; }
Property Value
Rtf The import settings. |
Implements
Name
Gets the name of the specific format provider.
Declaration
public override string Name { get; }
Property Value
System. The name. |
Overrides
Implements
SupportedExtensions
Gets the extensions supported by this format provider.
Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
System. The supported extensions. |
Overrides
Implements
Methods
Export(RadDocument)
Exports the specified document to a System.
Declaration
public string Export(RadDocument document)
Parameters
Rad The document. |
Returns
System. A System. |
Implements
Export(RadDocument, Stream)
Exports the specified Rad
Declaration
public override void Export(RadDocument document, Stream output)
Parameters
Rad The document. |
System. The System. |
Overrides
Implements
Import(Stream)
Imports the specified System.
Declaration
public override RadDocument Import(Stream input)
Parameters
System. The System. |
Returns
Rad The generated Rad |
Overrides
Implements
Import(String)
Imports the specified System.
Declaration
public RadDocument Import(string input)
Parameters
System. The string containing the RTF document. |
Returns
Rad The generated Rad |