IPrxDataIslandDimensionLayoutNodes.Clear

Syntax

Clear;

Description

The Clear method clears an arbitrary title.

Example

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;

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;

If RN.Count >= 0 Then Rn.Clear;

End If;

DI.Save;

End Sub UserProc;

After executing the example an arbitrary title is cleared if this title has contained any elements.

See also:

IPrxDataIslandDimensionLayoutNodes