A newer version of this page is available.
Switch to the current version.
Document.IsCreating Property
Indicates whether or not the document is still being created.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v18.2.Core.dll
Declaration
public virtual bool IsCreating { get; }
Public Overridable ReadOnly Property IsCreating As Boolean
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.
See Also
Feedback