The DrawObject function draws an OLE object.
Specifies the OLE object to draw. It can be either OLE object previously
returned by function GetObject, CreateObject etc. or string file name
to create an object from.
The string specifying how to draw the object. The possible values are:
||Draws the object itself. As rule all objects which can be drawn support this.
||Draws the thumbnail (approx. 120x120) representation of object. The object must support this kind of drawing.
||Draws the iconized representation of object. The object must support this kind of drawing.
The X-coordinate of upper left corner of bounding rectangle.
The Y-coordinate of upper left corner of bounding rectangle.
OLE object will be drawn with this width.
OLE object will be drawn with this height.
This function returns True if the object was successfully drawn.
Otherwise the function returns False.
If you use Advanced graphics mode (see SetGraphicsMode),
this function does not work. If you need to rotate on OLE object, first
draw it on the local clipboard and then place to the main picture.
OLE support chapter.
See OLE support chapter.