Skip to main content
A newer version of this page is available. .

PdfViewerControl Class

A control to display PDF files in a WPF application without the need to install any third-party software on end user machines.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v18.2.dll

Declaration

public class PdfViewerControl :
    DocumentViewerControl,
    IPdfViewer

Remarks

This control provides the UI for end-users to open, view, navigate and print PDF documents.

To load a PDF document in code, use the DocumentViewerControl.DocumentSource property. The DocumentViewerControl.OpenDocumentCommand property returns a command that opens a file using the Open File dialog.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PdfViewerControl class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also