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

Declaration

[ToolboxBitmap(typeof(ResFinder), "Bitmaps256.DocumentViewer.bmp")]
public class DocumentViewer :
    PrintControl
<ToolboxBitmap(GetType(ResFinder), "Bitmaps256.DocumentViewer.bmp")>
Public Class DocumentViewer
    Inherits 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.

See Also