%HI_GetPaintEffects, %HI_SetPaintEffects functions


Function
The function %HI_SetPaintEffects sets a gradient effect defined in the Object properties palette - tab Effects for a graphic object or picture (control function).

The function %HI_GetPaintEffects gets a gradient effect (enable/disable).
Declaration
%HI_SetPaintEffects(
   INT in refId, 
   BOOL in bEnable
 )
 
 BOOL %HI_GetPaintEffects(
   INT in refId
 )
Parameters
refIdReference to graphic object (reference variable) or picture (if RefId=0).
bEnableEnables/disables a gradient effect.

Napíšte komentár