ILink.CreateDocument(Boolean) Method

If implemented by a class, creates a document from the link, so the document can be displayed or printed.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v21.1.dll


void CreateDocument(
    bool buildForInstantPreview


Name Type Description
buildForInstantPreview Boolean

A Boolean value. This value is ignored and has no effect on the document creation process.


Use the CreateDocument method to generate a document for the current link.


The buildForInstantPreview parameter is ignored, because a document generated by an ILink object can be obtained only after all its pages have been created. Once the document creation has started, it will run until the resulting document is complete and cannot be interrupted or canceled in the process.

See Also