ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_PPM_correct_set |
This function sets the new value of the PPMCorrect option.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_PPM_correct_set( [IN] HIGEAR hIGear, [IN] DWORD dwGrpID, [IN] BOOL bEnable ); |
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. |
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear Professional.
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ DWORD nGrpID; /* display group identifier */ ... IG_dspl_PPM_correct_set ( hIGear, nGrpID, TRUE ); ... |