TiPlotAnnotationObject.Style

TiPlotAnnotationObject See Also

Specifies the style of the annotation object.

type TiPlotAnnotationStyle = (ipasText, ipasLine, ipasRectangle, ipasLineX, ipasLineY, ipasImage, ipasTextRectangle);

property Style : TiPlotAnnotationStyle;

Description

Use Style to get or set the style of the annotation object.

These are the possible values:

Value
Meaning
ipasText
Text Label. Use the X and Y properties to specify the coordinates of the center of the text.
ipasLine
Line. Use the X, Y, X2, and Y2 points to specify the startign point and ending point of the line.
ipasRectangle
Rectangle. Use the Width and Height properties to adjust the size of the Rectangle.
ipasLineX
Line perpendicular to the X-Axis, specified by the X property of the Annotation Object, from positive infinity to negative infinity on the Y-Axis.
ipasLineY
Line perpendicular to the Y-Axis, specified by the Y property of the Annotation Object, from positive infinity to negative infinity on the X-Axis.
ipasImage
Displays a bitmap centered on the X and Y coordinate properties. Use the runtime property editor to add images to the built-in image list. Use the ImageListIndex and ImageIndex properties to specify which bitmap to display.
ipasTextRectangle
Displays a text string inside of a sizeable rectangle. Use TextHorzAlignment, TextVertAlignment, TextHorzMargin, and TextVertMargin properties to position the text within the rectangle. Use the X and Y properties to position the rectangle. Use Width and Height to specify the dimensions of the Rectangle.

Example

Delphi

iComponent.Annotation[0].Style := ipasText;

C++ Builder

iComponent->Annotation[0]->Style = ipasText;

Contents | Index | Previous | Next