| Create and Destroy | |
|---|---|
| TBCreate | TBCreate creates a new text object. |
| TBDestroy | TBDestroy destroys the given text object and frees any memory the text object occupied. |
| Set | |
|---|---|
| TBSetAlignHorz | TBSetAlignHorz sets the horizontal text alignment. |
| TBSetAlignVert | TBSetAlignVert sets the vertical alignment. |
| TBSetAngle | TBSetAngle sets the angle under which the text should be drawn. |
| TBSetEdgeDistance | TBSetEdgeDistance specifies the distance between the text string and the left and top edges of the bounding box. |
| TBSetFont | TBSetFont sets the font for the specified text object. |
| TBSetText | TBSetText replaces the text of the specified object with new text. |
| TBSetAutoSize | TBSetAutoSize specifies that the size of the text object should be adjusted automatically to the text extension. |
| TBSetWordWrap | TBSetWordWrap enables or disables word wrap. |
| TBSetClipText | TBSetClipText enables or disables clipping. |
| Get | |
|---|---|
| TBGetAlignHorz | Returns the horizontal text alignment. |
| TBGetAlignVert | Returns the vertical text alignment. |
| TBGetAngle | TBGetAngle returns the angle which is used to print the text. |
| TBGetEdgeDistance | TBGetEdgeDistance returns the distance between the text and the left corner of the text object. |
| TBGetFont | TBGetFont return a copy of the font, which is used to print the text. |
| TBGetText | Returns the text. |
| TBGetTextExtend | TBGetTextExtend returns text size, which is necessary to print the text. |
| TBIsAutoSize | TBIsAutoSize returns TRUE (1), if the size of the text object is adjusted automatically to the text extension. |
| TBIsWordWrap | TBIsWordWrap returns TRUE (1), if word wrap is enabled. |
| TBIsClipText | TBIsClipText returns TRUE (1), if clipping is enabled. |
See also
id-1473374