Ole4D Methods

OCGetDrawMode(p_AreaVar)


Returns if the drawing mode of the ole object view. This is the pair function of OCSetDrawMode.

Parameters
Parameter Type   Description
p_AreaVar Longint -> Variable of the plug-in area.


Return Values
0 – Draw the object view without any processing.
1 - Stretch draw.
The operating system code of invalid parameter error - if the area sent as parameter does not exist.

Remarks
The drawing mode is persistent; it is saved and loaded in Blobs during calls to OCSaveToBlob and OCCreaFromBlob.