 
            | ImageGear Professional v18.1 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_ELEMENT > IG_PDE_element_has_gstate | 
Tests if hElement has a graphics state information.
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT ACCUAPI IG_PDE_element_has_gstate(
        HIG_PDE_ELEMENT hElement,
        LPAT_PDF_BOOL lpbHasGstate 
);
 | |
| Name | Type | Description | 
| hElement | HIG_PDE_ELEMENT | An element whose graphics state is checked. | 
| lpbHasGstate | LPAT_PDF_BOOL | Returns TRUE if the element has a graphics state; FALSE otherwise. | 
Error count.
This function does not process image pixels.