IScene3DCoordinatePlane.Caption

Syntax

Caption: IScene3DCaption;

Description

This property is read-only.

The Caption property returns parameters of the coordinate plane caption.

Example

Executing this example requires an existing form with the Button1 button located on it and the existing Chart3DBox component with the Chart3DBox1 identifier.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Scene3D: IScene3D;

DisplayedObjects: IScene3DDisplayedObjects;

CoordinatePlane: IScene3DCoordinatePlane;

Caption: IScene3DCaption;

CaptionStyle: IScene3DTextStyle;

Begin

Scene3D := Chart3DBox1.Scene;

DisplayedObjects := Scene3D.DisplayedObjects;

CoordinatePlane := DisplayedObjects.CoordinatePlanes.SidePlane;

Caption := CoordinatePlane.Caption;

Caption.Text := "Axis heading";

CaptionStyle := Caption.Style;

CaptionStyle.Visible := True;

End Sub Button1OnClick;

Executing this example will create the following caption for the scene back wall (the YOZ plane):

See also:

IScene3DCoordinatePlane