TTMSFNCChartAnnotationVirtual Record
Carries annotation data supplied by the virtual annotation events
OnGetNumberOfAnnotationsandOnGetAnnotation.
API unit family: TMSFNCChart
Syntax
TTMSFNCChartAnnotationVirtual = record
Fields and properties
| Name | Type | Description |
|---|---|---|
Annotation |
TTMSFNCChartAnnotation |
Reference to the TTMSFNCChartAnnotation template used when not in virtual-only mode. |
Arrow |
TTMSFNCChartAnnotationArrow |
Arrowhead style for the leader line. |
ArrowColor |
TTMSFNCGraphicsColor |
Color of the arrowhead. |
ArrowOpacity |
Double |
Opacity of the arrowhead drawn on the leader line (0.0�1.0). |
ArrowSize |
Double |
Size of the arrowhead drawn at the end of the leader line. |
AutoSize |
Boolean |
When True, the annotation box resizes to fit the text. |
FontColor |
TTMSFNCGraphicsColor |
Color of the annotation text. |
Height |
Double |
Fixed height of the annotation box in pixels when AutoSize is False. |
Index |
Integer |
Zero-based index of the annotation within its virtual point. |
LineColor |
TTMSFNCGraphicsColor |
Color of the leader line connecting the annotation to the point. |
LineOpacity |
Double |
Opacity of the leader line (0.0�1.0). |
LineWidth |
Integer |
Width of the leader line in pixels. |
OffsetX |
Double |
Horizontal offset of the annotation box from the point in pixels. |
OffsetY |
Double |
Vertical offset of the annotation box from the point in pixels. |
Shape |
TTMSFNCChartAnnotationShape |
Background shape of the annotation box. |
Text |
String |
Text content displayed inside the annotation shape. |
TextHorizontalAlignment |
TTMSFNCGraphicsTextAlign |
Horizontal alignment of the text within the annotation box. |
TextVerticalAlignment |
TTMSFNCGraphicsTextAlign |
Vertical alignment of the text within the annotation box. |
Visible |
Boolean |
When True, the annotation is drawn; when False, it is skipped. |
Width |
Double |
Fixed width of the annotation box in pixels when AutoSize is False. |
WordWrap |
Boolean |
When True, text wraps inside the annotation box. |