Chapter 2 -- 110
Programmer’s Guide
"
""
" Shapes.AddOblique
VTS_DISPATCH or Shape
AddOblique(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.AddRectangle
VTS_DISPATCH or Shape
AddRectangle(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).