Skip to main content
A newer version of this page is available. .

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.v18.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CreateDocument(Boolean) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also