IPrxSheetHeader.Margin

Syntax

Margin: Double;

Description

The Margin property determines header's margin.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

Sheet: IPrxSheet;

Header: IPrxSheetHeader;

Begin

MB := MetabaseClass.Active;

MObj := MB.ItemById("Report").Edit;

Report := MObj As IPrxReport;

Sheet := Report.ActiveSheet;

Header := Sheet.Header;

Header.Margin := 15;

MObj.Save;

End Sub Main;

After executing the example the margin of the regular report header equals to 15. The identifier of the regular report - Report.

See also:

IPrxSheetHeader