ImageGear for C and C++ on Windows v19.1 - Updated
ART_control_option_get
API Reference Guide > ART Component API Reference > ART Component Functions Reference > Control Functions > ART_control_option_get

This function returns a value of the control option specified by nOption parameters.

Declaration:

 
Copy Code
AT_ERRCOUNT ART_control_option_get(
        HIGEAR hIGear, 
        AT_MODE nOption, 
        const LPVOID lpValue
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle of an image.
nOption AT_MODE An ART-defined control option constant.
lpValue const LPVOID A far pointer to the return value.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Sample:

None

Remarks:

See the function ART_control_option_set() for a list of the control option constants.