EasyManua.ls Logo

Teklynx Discover ActiveX - Page 119

Teklynx Discover ActiveX
165 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2 -- 111
Reference Guide
"
""
" Shapes.AddRoundRect
VTS_DISPATCH or Shape
AddRoundRect(longLeft,
longTop, longRight, longBottom, longCorner).
Adds a new Shape
object to the collection.
Return value: Returns a Shape
object.
Parameters:
longLeft RequiredVT_I4orLong
. Sets the left corner of the
bounding rectangle of the object (in MeasureSystem
unit).
longTop RequiredVT_I4orLong
. Sets the top corner of the
bounding rectangle of the object (in MeasureSystem
unit).
longRight RequiredVT_I4orLong
. Sets the right corner of
the bounding rectangle of the object (in MeasureSystem
unit).
longBottom RequiredVT_I4orLong
. Sets the bottom corner of
the bounding rectangle of the object (in MeasureSystem
unit).
LongCorner RequiredVT_I4orLong
. Sets the radius of the
corner (distance from bound) (in MeasureSystem
unit).
"
""
" Shapes.AddPolygon
VTS_DISPATCH or Shape
AddPolygon(varSafeArrayOf-
Points).
Adds a new Shape
object to the collection.
Return value: Returns a Shape
object.
Parameters:
varSafeArrayOfPoints Required VT_VARIANT/VT_ARRAY or
Variant
. Sets the list of points of the object (in MeasureSystem
unit).
Note
It can be a one-dimensional array of values or a two-dimen-
sional array of values.

Table of Contents