.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

PdfViewerExtensions Class

Defines extension methods that are used to extend the functionality of the WinForms PDF Viewer and WPF PDF Viewer.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v19.2.dll

Declaration

public static class PdfViewerExtensions
Public Module PdfViewerExtensions
public static class PdfViewerExtensions
Public Module PdfViewerExtensions

Remarks

Add the DevExpress.Docs reference to your application to access extension methods for the WinForms PDF Viewer and WPF PDF Viewer.

Important

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this component or library in production code. Refer to the DevExpress Subscription page for pricing information.

The PdfViewerExtensions class provides the following features:

Export/Import Interactive Form Data from Code

Call one of the PdfViewerExtensions.Export extension methods with the specified data format settings to export interactive form data from a document to one of the supported formats. Refer to the How to: Export AcroForm Data to XML example for more information.

Call one of the PdfViewerExtensions.Import extension methods with or without data format settings to import interactive form data. Refer to the How to: Import Interactive Form Data from XML example for more information.

Protect a Document with a Password and Specify a Signature

Call one of the PdfViewerExtensions.SaveDocument extension methods and pass the PdfSaveOptions object containing the encryption settings as a parameter to protect a document with an owner or user password. See the Document Protection topic to learn more.

Call one of the PdfViewerExtensions.SaveDocument extension methods and pass the PdfSaveOptions object containing the document signature as a parameter to specify the document signature. Refer to the Signing Document topic for more information.

Inheritance

Object
PdfViewerExtensions
See Also