DTWAIN_IsLightSourceSupported

Top  Previous  Next

The DTWAIN_IsLightSourceSupported function checks if a Source supports setting the light source.

 

DTWAIN_BOOL DTWAIN_IsLightSourceSupported ( DTWAIN_SOURCE Source );

 

 

Parameters

Source

Specifies an open TWAIN Source.

 

 

Return Values

If the Source supports a light source, TRUE is returned.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_IsLightSourceSupported function takes the open Source Source, and checks to see if setting the light source is supported.  If the Source supports setting the light source, the DTWAIN_SetLightSource function allows an application to set the light source.

 

Some scanners have the ability to use a different light source or lamp, and DTWAIN_IsLightSourceSupported checks for the ability to use a different lamp or set of lamps when acquiring images.

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

DTWAIN Source Selection Function

 

See Also

Films, Transparancies, and Light Sources