DocumentViewer Class
The control to publish (preview, print and export) documents in Windows Forms applications.
Namespace: DevExpress.XtraPrinting.Preview
Assembly: DevExpress.XtraPrinting.v17.2.dll
Declaration
[ToolboxTabName("DX.17.2: Reporting")]
[ToolboxBitmap(typeof(ResFinder), "Bitmaps256.DocumentViewer.bmp")]
public class DocumentViewer :
PrintControl
Related API Members
The following members accept/return DocumentViewer objects:
Remarks
To print an object using a DocumentViewer, assign it to the DocumentViewer.DocumentSource property.
To learn more, refer to the following tutorials.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DocumentViewer 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.