API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_orientation_get |
This function returns the current orientation mode.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_orientation_get( [IN] HIGEAR hIGear, [IN] DWORD dwGrpID, [OUT] LPAT_MODE lpnOrientMode ); |
Name | Type | Description |
---|---|---|
hIGear | HIGEAR | ImageGear handle of image. |
dwGrpID | DWORD | Identifier of group from which to retrieve the orientation mode. |
lpnOrientMode | LPAT_MODE | Where to copy OrientMode value. If NULL then this parameter ignored. |
All pixel formats supported by ImageGear for C and C++.
Display, MFC, Vector
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ DWORD nGrpID; /* display group identifier */ AT_MODE nOrientMode; /* Orientation mode */ ... IG_dspl_orientation_get( hIGear, nGrpID, &nOrientMode ); ... |
Possible values are listed in the IG_dspl_orientation_set() function.