IGxMargins.Bottom

Syntax

Bottom: Double;

Description

The Bottom property determines value of the bottom margin.

Example

Executing the example requires that the repository contains a regular report with the Report_1 identifier.

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

PageSet: IGxPageSettings;

PageMarg: IGxPageMargins;

Begin

MB := MetabaseClass.Active;

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

Report := MObj As IPrxReport;

PageSet := Report.ActiveSheet.PageSettings;

PageSet.PaperFormat := GxPaperFormat.A3;

PageMarg := PageSet.Margins;

PageMarg.Bottom := 15.5;

MObj.Save;

End Sub Main;

After executing the example 15.5 mm bottom margin is set for pages of the regular report.

See also:

IGxMargins