Skip to main content

ILink.CreateDocument() Method

If implemented by a class, initiates report generation.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

void 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(PrintingSystemBase, LinkBase) 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(String, BrickGraphics) 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