ImageGear Professional v18.4 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_SOFTMASK > IG_PDE_softmask_create |
Creates a new soft mask object.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_softmask_create( HIG_PDF_DOC hDoc, LONG nType, HIG_PDE_FORM hForm, LPHIG_PDE_SOFTMASK lphSoftMask ); |
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. |
Error count.
This function does not process image pixels.
Call IG_PDE_element_release to dispose the created object when finished with it.