TiPlotLabel.Alignment
TiPlotLabel See Also
Controls the horizontal placement of the text within the label object.
type TiAlignmentHorizontal = (iahCenter, iahLeft, iahRight);
property Alignment : TiAlignmentHorizontal;
Description
Set Alignment to specify how the text is aligned within the ClientRect of the
label object.
These are the possible values:
Value
Meaning
iahCenter
Text is centered in the control.
iahLeft
Text is left-justified: Begins at the left edge of the control.
iahRight
Text is right-justified: Ends at the right edge of the control.
Example
Delphi
iComponent.Labels[0].Alignment := iahCenter;
C++ Builder
iComponent->Labels[0]->Alignment = iahCenter;
Contents | Index | Previous | Next