HierarchyIndent: Double;
The HierarchyIndent property determines indent in a pop-up hierarchy of the data area.
Executing the example requires a regular report with the REPORT identifier, which contains data area. Add links to the Metabase, Report system assemblies.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Prop: IPrxDataIslandProperties;
DI: IPrxDataIsland;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("REPORT").Edit;
DI := (MObj As IPrxReport).DataIslands.Item(0).Edit;
Prop := DI.Properties;
// Set hierarchy indent.
Prop.HierarchyIndent := 10;
DI.Save;
// Save report.
MObj.Save;
End Sub UserProc;
After executing the example the indent in the pop-up hierarchy of the first data area of the REPORT regular report equals to 10.
See also: