Item(Index: Integer): IPrxDataIslandDimensionLayoutNode;
Index - index of an arbitrary title element.
The Item property returns an element of an arbitrary title based on the specified index. The element is searched for on a single title level.
The following example assumes that there is the Report object with the IPrxReport type.
Sub UserProc;
Var
Report: IPrxReport;
DIs: IPrxDataIslands;
DI: IPrxDataIsland;
Prop: IPrxDataIslandProperties;
Dim : IDimInstance;
DimProp : IPrxDataIslandDimension;
RN : IPrxDataIslandDimensionLayoutNodes;
Element : IPrxDataIslandDimensionLayoutNode;
Begin
DIs := Report.DataIslands;
DI := DIs.Item(0).Edit;
Prop := DI.Properties;
Dim := DI.Slice.LeftHeader.Item(0).Dimension;
DimProp := Prop.Dimension(Dim.Dimension);
RN := DimProp.Layout.RootNodes;
Element := RN.Item(0);
Element.Caption := "RF";
Element.DimElement(Dim) := 0;
DI.Save;
End Sub UserProc;
After executing the example the title and binding of an element of the arbitrary title are changed by the specified index.
See also: