ImageGear Professional DLL v18.1 for Windows
IG_dspl_PPM_correct_get
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_PPM_correct_get

Glossary Item Box

This function returns the current value of options which specify either to use the image resolution or the image dimension to calculate the aspect ratio.

Declaration:

  Copy Code
AT_ERRCOUNT  ACCUAPI  IG_dspl_PPM_correct_get(
        [IN] HIGEAR hIGear,
        [IN] DWORD dwGrpID,
        [OUT] LPBOOL lpbEnable
);

Arguments:

Name Type Description
hIGear HIGEAR ImageGear handle of image.
dwGrpID DWORD Identifier of group in from which to get options.
LpbEnable LPBOOL Pointer to where to get the current value of option PPMCorrect.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

Display

Example:

  Copy Code
HIGEAR            hIGear;       /* HIGEAR handle of image  */ 
DWORD           nGrpID;      /* display group identifier    */
BOOL            bPPMEnable;    /* PPM corect flag value  */
 ...
IG_dspl_PPM_correct_get ( hIGear, nGrpID, &bPPMEnable );
 ...
©2014. Accusoft Corporation. All Rights Reserved.