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
Required VT_I4 or Long. Sets the left corner of the
bounding rectangle of the object (in MeasureSystem unit).
longTop
Required VT_I4 or Long. Sets the top corner of the
bounding rectangle of the object (in MeasureSystem unit).
longRight
Required VT_I4 or Long. Sets the right corner of
the bounding rectangle of the object (in MeasureSystem unit).
longBottom
Required VT_I4 or Long. Sets the bottom corner of
the bounding rectangle of the object (in MeasureSystem unit).
LongCorner
Required VT_I4 or Long. 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.