TiPlotAnnotationObject.TextVertMargin

TiPlotAnnotationObject

Specifies the margin between the text and the top or bottom inner-side of the annotation.

property TextVertMargin : Integer;

Description

Use TextVertMargin to get or set the margin between the text and the bottom (TextVertAlignment = iavTop) or top (TextVertAlignment = iavBottom) 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 TextVertAlignment property is set to iavCenter.

Example

Delphi

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

C++ Builder

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

Contents | Index | Previous | Next