skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RtfFormatProvider

Format provider for importing and exporting documents to RTF format.

Inheritance
System.Object
FormatProviderBase<RadFlowDocument>
TextBasedFormatProviderBase<RadFlowDocument>
RtfFormatProvider
Inherited Members
TextBasedFormatProviderBase<RadFlowDocument>.Import(String)
TextBasedFormatProviderBase<RadFlowDocument>.Import(String, Nullable<TimeSpan>)
TextBasedFormatProviderBase<RadFlowDocument>.Export(RadFlowDocument)
TextBasedFormatProviderBase<RadFlowDocument>.Export(RadFlowDocument, Nullable<TimeSpan>)
FormatProviderBase<RadFlowDocument>.Import(Stream)
FormatProviderBase<RadFlowDocument>.Import(Stream, Nullable<TimeSpan>)
FormatProviderBase<RadFlowDocument>.Export(RadFlowDocument, Stream)
FormatProviderBase<RadFlowDocument>.Export(RadFlowDocument, Stream, Nullable<TimeSpan>)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Flow.FormatProviders.Rtf
Assembly: Telerik.Windows.Documents.Flow.dll

Syntax

public class RtfFormatProvider : TextBasedFormatProviderBase<RadFlowDocument>, IFormatProvider<RadFlowDocument>, ITextBasedFormatProvider<RadFlowDocument>

Constructors

RtfFormatProvider()

Initializes a new instance of the RtfFormatProvider class.

Declaration
public RtfFormatProvider()

Properties

CanExport

Gets a value indicating whether format provider can export.

Declaration
public override bool CanExport { get; }
Property Value
System.Boolean

The value indicating whether can export.

Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.CanExport

CanImport

Gets a value indicating whether format provider can import.

Declaration
public override bool CanImport { get; }
Property Value
System.Boolean

The value indicating whether can import.

Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.CanImport

ExportSettings

Gets or sets the export settings.

Declaration
public RtfExportSettings ExportSettings { get; set; }
Property Value
RtfExportSettings

The export settings.

SupportedExtensions

Gets the supported extensions.

Declaration
public override IEnumerable<string> SupportedExtensions { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>

The supported extensions.

Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.SupportedExtensions

Methods

ExportOverride(RadFlowDocument, Stream)

Exports the specified document.

Declaration
[Obsolete("This method is obsolete. Please use ExportOverride(RadFlowDocument document, Stream output, CancellationToken cancellationToken) instead.")]
protected override void ExportOverride(RadFlowDocument document, Stream output)
Parameters
RadFlowDocument document

The document.

System.IO.Stream output

The output.

Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.ExportOverride(Telerik.Windows.Documents.Flow.Model.RadFlowDocument, System.IO.Stream)

ExportOverride(RadFlowDocument, Stream, CancellationToken)

Exports the specified document.

Declaration
protected override void ExportOverride(RadFlowDocument document, Stream output, CancellationToken cancellationToken)
Parameters
RadFlowDocument document

The document.

System.IO.Stream output

The output.

System.Threading.CancellationToken cancellationToken

The cancellation token used to cancel the operation.

Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.ExportOverride(Telerik.Windows.Documents.Flow.Model.RadFlowDocument, System.IO.Stream, System.Threading.CancellationToken)

ImportOverride(Stream)

Imports the specified input.

Declaration
[Obsolete("This method is obsolete. Please use ImportOverride(Stream input, CancellationToken cancellationToken) instead.")]
protected override RadFlowDocument ImportOverride(Stream input)
Parameters
System.IO.Stream input

The input.

Returns
RadFlowDocument

The imported document.

Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.ImportOverride(System.IO.Stream)

ImportOverride(Stream, CancellationToken)

Imports the specified input.

Declaration
protected override RadFlowDocument ImportOverride(Stream input, CancellationToken cancellationToken)
Parameters
System.IO.Stream input

The input.

System.Threading.CancellationToken cancellationToken

The cancellation token used to cancel the operation.

Returns
RadFlowDocument

The imported document.

Overrides
Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase<Telerik.Windows.Documents.Flow.Model.RadFlowDocument>.ImportOverride(System.IO.Stream, System.Threading.CancellationToken)
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.