Add_RTF
MethodAdd_RTF (Method)
This method inserts an RTF (Rich Text Format) document into the drawing
Syntax:
Function Add_RTF(sRTFFile As String, x As Single, y As Single, z As Single, vItemProperties As Object, iLayer As Short, vRetHandles As Object) As Boolean
The Add_RTF method syntax consists of the following:
Parameter |
Data Type |
Description |
sRTFFile |
String |
The name of the RTF file |
x |
Single |
The x coordinate of the insertion point |
y |
Single |
The y coordinate of the insertion point |
z |
Single |
The z coordinate of the insertion point |
vItemProperties |
Object |
A string array of properties for the new object |
iLayer |
Short |
The layer number |
vRetHandles |
Object |
Returns an integer array with the handles of the new objects |
Return value:
Boolean - True on success, false on error.