Back to Devexpress

Document Class

corelibraries-devexpress-dot-xtraprinting-8f3cf8cd.md

latest2.5 KB
Original Source

Document Class

The rendered and ready-to-print report document.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[SerializationContext(typeof(PrintingSystemSerializationContext))]
public abstract class Document :
    IDisposable,
    IXtraSerializable,
    IXtraSortableProperties,
    IXtraRootSerializationObject,
    ISerializationCacheProvider
vb
<SerializationContext(GetType(PrintingSystemSerializationContext))>
Public MustInherit Class Document
    Implements IDisposable,
               IXtraSerializable,
               IXtraSortableProperties,
               IXtraRootSerializationObject,
               ISerializationCacheProvider

The following members 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.

Implements

IXtraSerializable

Inheritance

Object Document RemoteDocument

See Also

Document Members

DevExpress.XtraPrinting Namespace