TTeeCanvas.TextWidth

TTeeCanvas.TextWidth
TTeeCanvas

function TextWidth(Const St: String): Integer; virtual; overload;

Unit
TeCanvas

Description
Use TextWdith to determine the length a wide string (Unicode) will occupy in the image.
TextWidth indicates whether a given string will fit in the available space. Other graphical elements in the image such as lines, or additional strings can be positioned to accommodate the width of the text.

See also TextHeight