ILink.CreateDocument() Method
If implemented by a class, initiates report generation.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
Declaration
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:
- 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.
- 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