ImageGear for C and C++ on Windows v19.6 - Updated
IG_gctrl_item_id_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Global Control Parameter Functions > IG_gctrl_item_id_get

This function returns index of the global control parameter with given name in array.

Declaration:

 
Copy Code
AT_BOOL  ACCUAPI  IG_gctrl_item_id_get(
        UINT nIndex
        LPCHAR lpCtrlID,
        UINT nBufSize
);

Arguments:

Name Type Description
nIndex UINT OUT: An index of lpCtrlID global control parameter in the parameters array.
lpCtrlID LPCHAR IN: The name of global control parameter.
nBufSize UINT IN: Size of lpCtrlID buffer in bytes.

Return Value:

TRUE if global parameter with given name is found; FALSE if it does not exist.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

See also the section Working with Global Control Parameters.