ImageGear for C and C++ on Linux v18.10 - Updated
IG_PDE_element_set_gstate
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_ELEMENT > IG_PDE_element_set_gstate

Sets the graphics state information for an element.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_element_set_gstate(
        HIG_PDE_ELEMENT hElement,
        LPAT_PDE_GRAPHICSTATE lpGstate 
);

Arguments:

Name Type Description
hElement HIG_PDE_ELEMENT An element whose graphics state is set.
lpGstate LPAT_PDE_GRAPHICSTATE Pointer to AT_PDE_GRAPHICSTATE structure with graphics state information to set for hElement.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This function is valid only for PDE Form, PDE Image, PDE Path, and PDE Shading elements.