Caption: IScene3DCaption;
The property is read-only.
The Caption property returns parameters of the coordinate plane caption.
Executing the example requires a form with the Button1 button on the form and the 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 the example will create the following caption for the scene back wall (the YOZ plane):
See also: