IBasePrintable.Initialize(IPrintingSystem, ILink) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v21.2.dll


void Initialize(
    IPrintingSystem ps,
    ILink link


Name Type Description
ps IPrintingSystem

An object implementing the IPrintingSystem interface used to print a control.

link ILink

An object implementing the ILink interface which refers to a control.


The Initialize method is invoked before generating a report.

Method arguments specify the IPrintingSystem and ILink 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. It involves using the IPrintable interface which is an IBasePrintable descendant:

  1. A user invokes report generation by the ILink.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Initialize(IPrintingSystem, ILink) method.


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