Creates a new soft mask object.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_PDE_softmask_create(
HIG_PDF_DOC hDoc,
LONG nType,
HIG_PDE_FORM hForm,
LPHIG_PDE_SOFTMASK lphSoftMask
);
|
Arguments:
Name |
Type |
Description |
hDoc |
HIG_PDF_DOC |
The container document. |
nType |
LONG |
Specifies how the mask is to be computed. One of the enumIGPDESoftMaskCreateFlags. |
hForm |
HIG_PDE_FORM |
The form XObject that defines the soft mask. It is the source of the mask values and the color space in which the composite computation is to be done. |
lphSoftMask |
LPHIG_PDE_SOFTMASK |
The newly created object. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
Call IG_PDE_element_release to dispose the created object when finished with it.