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

Glossary Item Box

This function sets the new value of the PPMCorrect option.

Declaration:

  Copy Code
AT_ERRCOUNT  ACCUAPI  IG_dspl_PPM_correct_set(
        [IN] HIGEAR hIGear,
        [IN] DWORD dwGrpID,
        [IN] BOOL bEnable
);

Arguments:

Name Type Description
hIGear HIGEAR ImageGear handle of image.
dwGrpID DWORD Identifier of group for which to set options.
bEnable BOOL New value for PPMCorrect option. If TRUE then the resolution will be used to calculate the aspect ratio, but if FALSE then the image dimension will be used.

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 */
 ...
IG_dspl_PPM_correct_set ( hIGear, nGrpID, TRUE );
 ...
©2014. Accusoft Corporation. All Rights Reserved.