DTWAIN_GetRotationEx

Top  Previous  Next

The DTWAIN_GetRotationEx function gets the current rotation value for the Source.

 

DTWAIN_FLOAT DTWAIN_GetRotationEx ( DTWAIN_SOURCE Source );

 

Parameters

Source

    An open TWAIN Source.

 

Return Values

If successful, the current rotation value.  On failure, returns the minimum finite value representable by a DTWAIN_FLOAT (approximately 2.22507e-308).  Call DTWAIN_GetLastError() to get extended information.

 

Comments

The DTWAIN_GetRotationEx function performs the same functionality as DTWAIN_GetRotation, with the difference being that the rotation is returned as a DTWAIN_FLOAT instead of the user providing a pointer to a DTWAIN_FLOAT as a parameter.

 

TWAIN State Transitions

The Source must be in State 4. or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize.

DTWAIN Source Selection Function