GetTextVectors
MethodGetTextVectors (Method)
Returns text geometry as an array of line segments
Syntax:
Function GetTextVectors(sText As String, sFontName As String, TextScale As Single, fBold As Boolean, fItalic As Boolean, x1() As Single, y1() As Single, x2() As Single, y2() As Single) As Integer
The GetTextVectors method syntax consists of the following:
Parameter |
Data Type |
Description |
sText |
String |
A String expression that defines the text |
sFontName |
String |
The font name of the text |
TextScale |
Single |
The scale of the text |
fBold |
Boolean |
True when the text is bold |
fItalic |
Boolean |
True when the text is italic |
x1() |
Single |
An array of the x coordinates for the first point of each line |
y1() |
Single |
An array of the y coordinates for the first point of each line |
x2() |
Single |
An array of the x coordinates for the second point of each line |
y2() |
Single |
An array of the y coordinates for the second point of each line |
Return value:
Integer - Returns the upper bound of the arrays