API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_ELEMENT > IG_PDE_element_get_gstate |
Gets the graphics state information for an element.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_element_get_gstate( HIG_PDE_ELEMENT hElement, LPAT_PDE_GRAPHICSTATE lpGstate ); |
Name | Type | Description | ||
---|---|---|---|---|
hElement | HIG_PDE_ELEMENT | An element whose graphics state is obtained. | ||
lpGstate | LPAT_PDE_GRAPHICSTATE |
Pointer to AT_PDE_GRAPHICSTATE structure that contains graphics state information for hElement. This graphics state information may contain PDE objects for color spaces or an ExtGState. They are not acquired by this function.
|
Error count.
This function does not process image pixels.
This function is only valid for PDE Form, PDE Image, PDE Path, and PDE Shading elements.
Non-NULL objects in the graphic state, such as the fill and stroke color spaces, have their reference counts incremented by this function. Be sure to release these non-NULL objects when disposing of lpGstate. |