Chapter 2 -- 109
Reference Guide
"
"
"
"
Shapes.AddEllipse
VTS_DISPATCH or Shape
AddEllipse
(
longLeft, longTop,
longRight, longBottom
).
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).
"
"
"
"
Shapes.AddLine
VTS_DISPATCH or Shape
AddLine
(
longLeft, longTop,
longRight, longBottom
).
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).
Object
Methods