ImageGear for C and C++ on Windows v20.1 - Updated
IG_dspl_dithering_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_dithering_get

This function returns the current dithering flags.

Declaration:

 
Copy Code
AT_ERRCOUNT  ACCUAPI  IG_dspl_dithering_get(
        [IN] HIGEAR hIGear,
        [IN] DWORD dwGrpID,
        [OUT] LPAT_MODE lpnDitherFlags
);

Arguments:

Name Type Description
hIGear HIGEAR ImageGear handle of image.
dwGrpID DWORD Identifier of group from which to get option.
lpnDitherFlags LPAT_MODE Pointer where DitherMode is to be received.

Return Value:

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

Supported Raster Image Formats:

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

Sample:

MFC

Example:

 
Copy Code
HIGEAR            hIGear;    /* HIGEAR handle of image  */ 
DWORD           nGrpID;    /* display group identifier */
AT_MODE nDitherFlags; /* dither flags */
 ...
IG_dspl_dithering_get( hIGear, nGrpID, &nDitherFlags );
 ...

Remarks:

All possible values are listed in the description of function IG_dspl_dithering_set().

Is this page helpful?
Yes No
Thanks for your feedback.