Placement: PrxDataIslandHeaderPlacement;
The Placement property determines layout of columns and rows.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
DIs: IPrxDataIslands;
DI: IPrxDataIsland;
Prop: IPrxDataIslandProperties;
THead: IPrxDataIslandHeader;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("Report").Edit;
Report := MObj As IPrxReport;
DIs := Report.DataIslands;
DI := DIs.Item(0).Edit;
Prop := DI.Properties;
THead := Prop.TopHeader;
THead.Placement := PrxDataIslandHeaderPlacement.Simple;
DI.Save;
MObj.Save;
End Sub Main;
After executing the example simple layout is set for columns of the first data area of the regular report. The identifier of the regular report - Report.
See also: