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

Document Class

The rendered and ready-to-print report document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.1.Core.dll

Declaration

[SerializationContext(typeof(PrintingSystemSerializationContext))]
public abstract class Document :
    IDisposable,
    IXtraSerializable,
    IXtraSortableProperties,
    IXtraRootSerializationObject,
    ISerializationCacheProvider

The following members accept/return Document objects:

Remarks

After a paginated Document is created from a link or report, you can show its preview from where it can be printed and exported.

Among its other options, Document provides the Document.Pages property, which gives access to report pages, and the Document.PageCount property, which returns the total number of pages.

In this reference, the terms report and document have the same meaning. To learn about basic terms used in the XtraPrinting Library, see Concepts.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Document 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.

Inheritance

See Also