| Ole4D Methods | ||||||||||||||
|
OCSetDrawMode(p_AreaVar;p_Mode) Allows to set the view mode of the object in its plug-in area. Currently only two view modes are supported: stretched and not stretched. When the stretch mode is set the view of the object is drawn stretched to fit the rectangle of the plug-in area. Parameters
Return Values 0 – In case that the methods call was successful. If the area sent as parameter is invalid the return value is the operating system code of invalid parameter error. Remarks The value set for stretch draw is persistent; it is saved and loaded in Blobs during calls to OCSaveToBlob and OCCreaFromBlob. |
||||||||||||||