TiPlotAnnotationObject.TextHorzAlignment
TiPlotAnnotationObject
Controls the horizontal placement of text within the annotation.
type TiAlignmentHorizontal = (iahCenter, iahLeft, iahRight);
property TextHorzAlignment : TiAlignmentHorizontal;
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
iahCenter
Text is centered within the annotation.
iahLeft
Text is left justified: Begins at the left edge of the annotation .
iahRight
Text is right justified: Ends at the right edge of the annotation.
Example
Delphi
iComponent.Annotation[0].TextHorzAlignment := iahCenter;
C++ Builder
iComponent->Annotation[0]->TextHorzAlignment = iahCenter;
Contents | Index | Previous | Next