The DrawTextBox attribute function adds text to the currently selected page of the PDF document of the variable.
Syntax | |||||||
DrawText(Left, Top, Text) | |||||||
Return value | |||||||
Type |
Description | ||||||
Long |
0 if successful | ||||||
Parameter | |||||||
Use |
Name |
Type |
Passing |
Description | |||
Required |
Left |
Double |
ByVal |
Left edge of the text box | |||
Required |
Top |
Double |
ByVal |
Top edge of the text box | |||
Required |
Width |
Double |
ByVal |
Width of the text box | |||
Required |
Height |
Double |
ByVal |
Height of the text box | |||
Required |
Text |
String |
ByVal |
The text | |||
Required |
Options |
Long |
ByVal |
Control options | |||
Before a PDF document of a variable can be modified, the BeginModify attribute function must be called. After the changes, the EndModify attribute function must be called.