DTWAIN_EnumOrientations

Top  Previous  Next

The DTWAIN_EnumOrientations function returns the available orientation values that are supported for the Source.

 

DTWAIN_BOOL DTWAIN_EnumOrientations (

DTWAIN_SOURCE

Source,

LPDTWAIN_ARRAY

lpOrientations );

 

Parameters

Source

Specifies an open TWAIN Source.

 

lpOrientations

A pointer to a DTWAIN_ARRAY that will be filled with the available orientation values that are supported.

 

Return Values

If orientation is supported, TRUE is returned.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_EnumOrientations function takes the open Source Source, and returns to the DTWAIN_ARRAY pointed to by lpOrientations a list of the supported orientations.  The DTWAIN_ARRAY stores LONG values.  A list of the possible values can be found in Orientation Constants.

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

 

See Also

Setting / Getting Orientation