ImageGear for C and C++ on Windows v19.8 - Updated
IG_PDE_shading_create
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_SHADING > IG_PDE_shading_create

Creates a smooth shading object.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_shading_create (
        HIG_PDF_BASOBJ hDictionary, 
        LPAT_PDF_FIXEDMATRIX lpMatrix,
        LPHIG_PDE_SHADING lphShading 
);

Arguments:

Name Type Description
hDictionary HIG_PDF_BASOBJ The shading dictionary.
lpMatrix LPAT_PDF_FIXEDMATRIX The location and transformation matrix of the shading object.
lphShading LPHIG_PDE_SHADING A smooth shading object.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

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