TiPlotAnnotationObject.TextVertAlignment

TiPlotAnnotationObject

Controls the vertical placement of text within the annotation.

type TiAlignmentVertical = (iavCenter, iavTop, iavBottom);

property TextVertAlignment : TiAlignmentVertical;

Description

Set TextHorzAlignment to specify how the text is aligned within the annotation.

Note: this property currently only supports annotations with Style = ipasTextRectangle or ipasText.

These are the possible values:

Value
Meaning
iavCenter
Text is centered vertically within the annotation.
iavTop
Text is aligned against the top of the annotation:
iavBottom
Text is aligned against the bottom of the annotation.

Example

Delphi

iComponent.Annotation[0].TextVertAlignment := iavCenter;

C++ Builder

iComponent->Annotation[0]->TextVertAlignment = iavCenter;

Contents | Index | Previous | Next