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 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).
"
""
" 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 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).
Object
Methods