ImageGear Professional DLL v17.1 for Windows Accusoft
IG_gctrl_item_set
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Global Control Parameter Functions > IG_gctrl_item_set

Glossary Item Box

This function sets the value to global control parameter.

Declaration:

  Copy Code
AT_ERRCODE  ACCUAPI IG_gctrl_item_set(
        LPCHAR CtrlID,
        AT_MODE nValueType,
        LPVOID lpValue,
        DWORD dwValueSize,
        LPCHAR lpTextInfo
);

Arguments:

CtrlID IN: The name of global control parameter in form "<GRPNAME>.<Param name>".
nValueType IN: The type of global control parameter value. Constant of kind AM_TID_...
lpValue IN: Pointer to global control parameter value data.
dwValueSize IN: Size of global control parameter value data (size of buffer lpValue)
lpTextInfo IN: Text description of global control parameter value.

Return Value:

Return value is a code of last error or NULL if success.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

If parameter with given name ControlID does not exist, then it is added. If control parameter with given value exists and callback function for it is not NULL then callback is called exactly after value is changed by this function. If lpTextInfo is not NULL, then previous value of this field is changed to new value, but if NULL then it is not changed.

See also the section Working with Global Control Parameters.

©2012. Accusoft Corporation. All Rights Reserved.