IPrxSheetHeaderBase.Center

Syntax

Center: IPrxSheetHeaderPart;

Description

The Center property determines the central part of the title or header.

Example

The following example assumes that there is the Report object with the IPrxReport type.

Sub UserProc;

Var

Report: IPrxReport;

Header : IPrxSheetHeaderBase;

Center : IPrxSheetHeaderPart;

Begin

Header := Report.Title As IPrxSheetHeaderBase;

Center := Header.Center;

Center.Text := "Macroeconomic indicators";

End Sub UserProc;

After executing the example a title aligned to the center of the sheet is specified for the regular report.

See also:

IPrxSheetHeaderBase