Skip to main content

Document.IsCreating Property

Indicates whether or not the document is still being created.

Namespace: DevExpress.XtraPrinting

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public virtual bool IsCreating { get; }

Property Value

Type Description

true, if the document creation is in progress; otherwise, false.


On loading a document, Print Preview displays each page as soon as it is created, which enables you to start manipulating the document without waiting until all its pages are ready.

However, an exception will be thrown on an attempt to print or export an incomplete document in code. Use the IsCreating property to avoid such exceptions and check the document creation progress before performing any actions for which all document pages are required.

See Also