GetTextGeometry
MethodGetTextGeometry (Method)
Returns the geometry of a text object
Syntax:
Function GetTextGeometry(avHandle As Integer, x As Single, y As Single, dWidth As Single, dHeight As Single, dAngle As Single, lTextLines As Integer) As Boolean
The GetTextGeometry method syntax consists of the following:
Parameter |
Data Type |
Description |
avHandle |
Integer |
The handle of the text object |
x |
Single |
The x coordinate of the insert point of the text |
y |
Single |
The y coordinate of the insert point of the text |
dWidth |
Single |
The width of the text |
dHeight |
Single |
The height of the text |
dAngle |
Single |
The angle of the text |
lTextLines |
Integer |
The number of the text's lines |
Return value:
Boolean - True on success, false on error.