Ole4D Methods

OCSetPadding(p_Area;p_nPadding)


Modifies the distance between the ole object border and the plug-in area border.
By default border padding is set to 3 pixels. Because of this default value, for ole documents a hashed rectangle typical for embedded ole documents is shown.

Parameters
Parameter Type   Description
p_AreaVar Longint -> Variable of the plug-in area.
p_nPadding Longint -> Variable indicating the distance in pixels the between area border and the ole object.


Return Values
0 – The method call was successful.
If the method call was not successful the return value is non zero. For more information call OCLastError.

Remarks
Border padding is persistent. It is saved and loaded from blobs.

See Also
OCGetPadding