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.v20.1.dll

Declaration

void CreateDocument(
    bool buildForInstantPreview
)
Sub CreateDocument(
    buildForInstantPreview As Boolean
)

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