ImageGear for C and C++ on Linux v20.0 - Updated
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
        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.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.


Call IG_PDE_element_release to dispose the created object when finished with it.

Is this page helpful?
Yes No
Thanks for your feedback.