Add_RTF

Top  Previous  Next

 

Add_RTF (Method)

 

This function inserts a .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

Is the name of the RTF file

x

Single

Is the x coordinate of the insertion point

y

Single

Is the y coordinate of the insertion point

z

Single

Is the z coordinate of the insertion point

vItemProperties

Object

Is a string array with properties for the new object

iLayer

Short

Is 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.

 

Example