A newer version of this page is available. Switch to the current version.

DocumentViewer Class

The control to publish (preview, print and export) documents in Windows Forms applications.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v19.1.dll


[ToolboxBitmap(typeof(ResFinder), "Bitmaps256.DocumentViewer.bmp")]
public class DocumentViewer :

The following members accept/return DocumentViewer objects:


To print an object using a DocumentViewer, assign it to the DocumentViewer.DocumentSource property.

To learn more, refer to the following tutorials.

See Also