ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_softmask_create
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_SOFTMASK > IG_PDE_softmask_create

Glossary Item Box

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:

hDoc The container document.
nType Specifies how the mask is to be computed. One of the enumIGPDESoftMaskCreateFlags.
hForm 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 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.

©2012. Accusoft Corporation. All Rights Reserved.