Skip to main content
All docs
V24.1

IBasePrintable.Initialize(PrintingSystemBase, LinkBase) Method

When implemented by a class, initializes a control for report creation.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

void Initialize(
    PrintingSystemBase ps,
    LinkBase link
)

Parameters

Name Type Description
ps PrintingSystemBase

An object used to print a control.

link LinkBase

An object which refers to a control.

Remarks

The Initialize method is invoked before generating a report.

Method arguments specify the PrintingSystemBase and LinkBase objects which are used to print a control. The link argument specifies the link which refers to this control and initiates report creation.

A description of report generation is provided below.

  1. A user invokes report generation by the LinkBase.CreateDocument method.
  2. A link knows about the IBasePrintable control to which it refers and calls the Initialize method.
  3. Next, the IBasePrintable.CreateArea method is called for each section of the generated report. Refer to the Document Sections topic to learn about report section types.
See Also