ITChart.MultiLineTextWidth
ITChart

function MultiLineTextWidth(Const AString: WideString; NumLines: Integer; TextFormat: ETextFormat): Integer;

Type Library
TeeChartx

Description
Returns width of longest line of text in S string.

The NumLines parameter returns the number of lines in S string.