ChartDirector 7.1 (C++ Edition)

TTFText


The TTFText class represents text blocks. TTFText objects are created using DrawArea.text3 or DrawArea.text4.

MethodInheritedDescription
getWidth(Self)Gets the width of the text block in pixels.
getHeight(Self)Gets the height of the text block in pixels.
getLineHeight(Self)Gets the height of a typical line in the text block in pixels.
getLineDistance(Self)Gets the distance between two lines in the text block in pixels.
draw(Self)Draws the text block.