DTwainInterface::SetCountry

Top  Previous  Next

Syntax

DTwainInterface& DTwainInterface::SetCountry(LONG lCountry );

 

Parameters

lCountry

A TWAIN Country constant

 

Return Value

Returns reference to the current DTwainInterface object (*this).

 

Comments

DTwainInterface::SetCountry sets the Twain country code used by the TWAIN Source Manager.  This function should be called before DTwainInterface::StartSession.  The country information can also be set in the DTwainInterface constructor, or by calling DTwainInterface::SetAppInfo.