Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v20.2.dll

Declaration

public static class 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 need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use the DevExpress.Docs.v20.2.dll assembly in production code.

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.

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