• 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 ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PdfFormatProvider

Provides functionality for importing PDF documents.

Inheritance
System.Object
FormatProviderBase<RadFixedDocument>
BinaryFormatProviderBase<RadFixedDocument>
PdfFormatProvider
Inherited Members
BinaryFormatProviderBase<RadFixedDocument>.Import(Byte[])
BinaryFormatProviderBase<RadFixedDocument>.Export(RadFixedDocument)
FormatProviderBase<RadFixedDocument>.Import(Stream)
FormatProviderBase<RadFixedDocument>.Export(RadFixedDocument, Stream)
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.Fixed.FormatProviders.Pdf
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class PdfFormatProvider : BinaryFormatProviderBase<RadFixedDocument>, IFormatProvider<RadFixedDocument>, IBinaryFormatProvider<RadFixedDocument>

Constructors

PdfFormatProvider()

Initializes a new instance of the PdfFormatProvider class.

Declaration
public PdfFormatProvider()

PdfFormatProvider(Stream)

Initializes a new instance of the PdfFormatProvider class.

Declaration
[Obsolete("Use PdfFormatProvider() constructor instead.")]
public PdfFormatProvider(Stream sourceStream)
Parameters
System.IO.Stream sourceStream

The source stream.

PdfFormatProvider(Stream, FormatProviderSettings)

Initializes a new instance of the PdfFormatProvider class. This overload should be used in order to import a document in RadPdfViewer.

Declaration
[Obsolete("Use PdfFormatProvider() constructor instead.")]
public PdfFormatProvider(Stream sourceStream, FormatProviderSettings settings)
Parameters
System.IO.Stream sourceStream

The stream.

FormatProviderSettings settings

The settings.

Properties

CanExport

Gets a value indicating whether 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.Fixed.Model.RadFixedDocument>.CanExport

CanImport

Gets a value indicating whether 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.Fixed.Model.RadFixedDocument>.CanImport

ExportSettings

Gets or sets the export settings.

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

The export settings.

ImportSettings

Gets or sets the import settings.

Declaration
public PdfImportSettings ImportSettings { get; set; }
Property Value
PdfImportSettings

The import 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.Fixed.Model.RadFixedDocument>.SupportedExtensions

Methods

ExportOverride(RadFixedDocument, Stream)

Exports the specified document.

Declaration
protected override void ExportOverride(RadFixedDocument document, Stream output)
Parameters
RadFixedDocument document

System.IO.Stream output

The output.

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

Import()

Creates a RadFixedDocument that represents the PDF file.

Declaration
[Obsolete("Use Import(Stream) method instead.")]
public RadFixedDocument Import()
Returns
RadFixedDocument

The fixed document.

ImportOverride(Stream)

Imports the specified input.

Declaration
protected override RadFixedDocument ImportOverride(Stream input)
Parameters
System.IO.Stream input

The input.

Returns
RadFixedDocument

The imported document.

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

Was this article helpful?

Tell us how we can improve this article

Skip
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.