IPrxScene3DNamedPointSerie.NameRange

Syntax

NameRange: ITabRange;

Description

The NameRange property determines parameters of the cell or the cell range that contains the series name.

Example

Executing the example requires a regular report with the REGULAR_REPORT identifier, the report sheet contains a 3D scene with specific source data and data in the range B1:E3. A unit is added to the report that is used to call the GetNameRange procedure using the hyperlink. Add links to the Report, Tab, Metabase, Drawing system assemblies.

Sub GetNameRange;
Var
    Report: IPrxReport;
    Tab: ITabSheet;
    s: IPrxScene3D;
    ser: IPrxScene3DNamedPointSerie;
Begin
    Report := PrxReport.ActiveReport;
    Tab := (Report.ActiveSheet 
As IPrxTable).TabSheet;
    s := Tab.Objects.Item(
0).Extension As IPrxScene3D;
    ser := s.Series.Item(s.Series.Count - 
1As IPrxScene3DNamedPointSerie;
    ser.NameRange.Style.BackgroundColor := 
New GxColor.CreateRGB(02550);
    ser.PointsRange.Style.BackgroundColor := 
New GxColor.CreateRGB(00255);
End Sub GetNameRange;

After executing the example clicking the hyperlink applies the specified fill for the cells with series names and points names.

See also:

IPrxScene3DNamedPointSerie