Document.IsCreating Property
Indicates whether or not the document is still being created.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, if the document creation is in progress; otherwise, false. |
Remarks
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.