Dear Customer Support
First of all, our company is searching for a new TwainAPI for implementing in our products.
I'm now testing your GdTwain ActiveX to check, if it could fullfill our needs.
On the first review, it looks very nice to me.
One point which I didn't found is, how could I set the language for the external Setup Scanning Dialog (".TwainShowSetupDialogSource")
The default seems to be english (fixed)... How can I set the language, if that would be possible from Twain Interfaces.
I look forward to hearing from you. Thank you in advance.
Freundliche Grüsse / best regards
Change the language for the external Setup Scanning Dialog
Hi,
I think you can do like that with the low level API:
First STEP: Get all the supported languages
According to the last twain specification ( viewtopic.php?t=73 ) the Allowed Values for the language are:
[quote]#define TWLG_DAN 0 /* Danish */
/* Added for 1.8 */
/* More stuff added for 1.8 */
Second STEP: Set one supported language
I hope I was clear enought.
Best regards,
Loïc Carrère
I think you can do like that with the low level API:
First STEP: Get all the supported languages
Code: Select all
'Before the desired twain source must be opened !!
For nCpt = 1 To Twain1.TwainGetAvailableCapValuesCount(CAP_LANGUAGE)
langID(nCpt) = Twain1.TwainGetAvailableCapValueNoNumeric(CAP_LANGUAGE, nCpt)
Next nCpt
According to the last twain specification ( viewtopic.php?t=73 ) the Allowed Values for the language are:
[quote]#define TWLG_DAN 0 /* Danish */
/* Added for 1.8 */
/* More stuff added for 1.8 */
Second STEP: Set one supported language
Code: Select all
nCapItemType = Twain1.TwainGetCapItemType(CAP_LANGUAGE)
Call Twain1.TwainSetCapCurrentNumeric(CAP_LANGUAGE, nCapItemType, nDesiredAvailableLanguage)
I hope I was clear enought.
Best regards,
Loïc Carrère
Who is online
Users browsing this forum: No registered users and 2 guests