TBGetTextExtendΒΆ
TBGetTextExtend returns text size, which is necessary to print the text.
-
rvExtend = TBGetTextExtend(hText)
Return Value
rvExtend is a vector with 2 elements:
Value | Meaning |
---|---|
rvExtend[1] | Width of the text element in cm. |
rvExtend[2] | Height of the text element in cm. |
Parameters
-
hText
The handle of a text object created with TBCreate .
Comment
The text object must have been added to a layer (diagram).
See also
Overview Text Objects, TBCreate, LayerAddObjects, OBJSetPosSize
id-1274495