DTWAIN_SetLanguage

Top  Previous  Next

The DTWAIN_SetLanguage function sets the TWAIN language setting.

 

DTWAIN_BOOL DTWAIN_SetLanguage ( LONG Language );

 

 

Parameters

Language

Value identifying the TWAIN language setting.

 

Return Values

The return value is TRUE if successful.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_SetLanguage function sets the TWAIN current language settings to Language.

 

If DTWAIN_SetLanguage is not called by the application, DTWAIN sets the language to DTWAIN_LANGUSA (USA English)

 

DTWAIN_SetLanguage must be called before the TWAIN session is started with (done by calling      or before a Source is initially selected), since a TWAIN session sends the language information to the TWAIN Source Manager.

 

DTWAIN Language Constants

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN_GetAppInfo, DTWAIN_GetCountry, DTWAIN_GetLanguage, DTWAIN_SetAppInfo, DTWAIN_SetCountry