TiPlotAnnotationObject.TextHorzMargin

TiPlotAnnotationObject

Specifies the margin between the text and the left or right inner-side of the annotation.

property TextHorzMargin : Integer;

Description

Use TextHorzMargin to get or set the margin between the text and the left (TextHorzAlignment = iahLeft) or right (TextHorzAlignment = iahRight) inner-side of the annotation. The TextHorzMargin value is in pixels.

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

Note
: this property does not affect the text alignment if the TextHorzAlignment property is set to iahCenter.

Example

Delphi

iComponent.Annotation[0].TextHorzMargin := 5;

C++ Builder

iComponent->Annotation[0]->TextHorzMargin = 5;

Contents | Index | Previous | Next