ImageGear for C and C++ on Windows v19.1 - Updated
IG_ARTX_button_state_get
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_BUTTON > IG_ARTX_button_state_get

This function gets the state of button.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_button_state_get(
        HIG_ARTX_BUTTON hMark,
        LPAT_BOOL lpbState
);

Arguments:

Name Type Description
hMark HIG_ARTX_BUTTON Annotation handle.
lpbState LPAT_BOOL Pointer to buffer for function result.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

A button has 2 states: pressed and not pressed. A TRUE value indicates the pressed state; and a FALSE value indicates the not pressed state.