ILink.CreateDocument() Method

If implemented by a class, initiates report generation.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

void CreateDocument()
Sub CreateDocument

Remarks

The CreateDocument method initiates report generation.

For instance, the PrintableComponentLink.CreateDocument method generates a report for the custom component that implements the IPrintable interface, in the following order:

  1. Calls the IBasePrintable.Initialize method. It provides a IPrintable control with information on the IPrintingSystem object, which generates the report. It also passes itself as another parameter.
  2. Calls the IBasePrintable.CreateArea method for every report area (section). Refer to the Document Sections topic, to learn about report section types.

Refer to the How to: Create a Custom Link to Print a ListView Control topic, to learn more.

See Also