User`s guide

FUNCTIONS
SDK SECTION 11
Page 228
SetImageRotate
unsigned int WINAPI SetImageRotate(int iRotate)
Description
This function will cause data output from the SDK to be rotated on one or both axes. This
rotate is not done in the camera, it occurs after the data is retrieved and will increase
processing overhead. If the rotation could be implemented by the user more efficiently
then use of this function is not recomended. E.g writing to file or displaying on screen.
Parameters
int iRotate: Rotation setting
0 - No rotation
1 - Rotate 90 degrees clockwise
2 - Rotate 90 degrees anti-clockwise
If this function is used in conjunction with the
SetImageFlip function the rotation will occur
before the flip regardless of which order the functions are called.
180 degree rotation can be achieved using the SetImageFlip function by selecting both
horizontal and vertical flipping.
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_P1INVALID
All parameters accepted.
System not initialized.
Rotate parameter invalid.
See also
SetImageFlip