The AddLabel attribute function inserts text into the 3D model.
Syntax | ||||
AddLabel(LabelText, X, Y, Z, [, LabelName][, FontName][, FontSize][, FontColor]) | ||||
Return value | ||||
None | ||||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
LabelText |
String |
ByVal |
The text to be output |
Required |
X |
Double |
ByVal |
X-Position |
Required |
Y |
Double |
ByVal |
Y-Position |
Required |
Z |
Double |
ByVal |
Z-Position |
Optional |
LabelName |
String |
ByVal |
Name of the 3D element in the model |
Optional |
FontName |
String |
ByVal |
The character set of the text (Arial) |
Optional |
FontSize |
Double |
ByVal |
Character Height |
Optional |
FontColor |
Long |
ByVal |
RGB color value for the character color |