Teklynx Discover ActiveX Programmer's Manual page 82

Table of Contents

Advertisement

Note
Note
" " " " DocObjects.Add
VT_DISPATCH or DocObject
strDocObjectName ).
Adds a new DocObject object to the current document.
Return value: Returns a DocObject object.
Parameters:
longDocObjectType
enumDocObject. The type of object to add.
The value can be one of the following:
lppxObjectText
lppxObjectBarCode
lppxObjectImage
lppxObjectLine
lppxObjectRectangle
lppxObjectEllipse
lppxObjectPolygon
lppxObjectOblique
lppxObjectRoundRect
lppxObjectOLEObject
strDocObjectName
name of the object to add.
" " " " DocObjects.Item
VTS_DISPATCH or DocObject
If the value provided as Index does not match any existing
member of the collection, no object is returned.
The index can be a numeric expression (a number from 1 to the
fore, the following two lines of code are equivalent.
Object. DocObjects (1)
Object. DocObjects.Item(1)
Add( longDocObjectType,
= 1
= 2
= 3
= 4
= 5
= 6
= 7
= 8
= 9
= 10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents