GetTextGeometry

Top  Previous  Next

 

GetTextGeometry (Method)

 

Use this method if you want to get 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

Is the handle of the text object

x

Single

Is the x coordinate of the insert point of the text

y

Single

Is the y coordinate of the insert point of the text

dWidth

Single

Is the width of the text

dHeight

Single

Is the height of the text

dAngle

Single

Is the angle of the text

lTextLines

Integer

Is the number of the text's lines

 

Return value:

Boolean - True on success, false on error.

 

Example