Skip to main content

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.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

void CreateDocument(
    bool buildForInstantPreview
)

Parameters

Name Type Description
buildForInstantPreview Boolean

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

Remarks

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

Note

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