Hello, alevin.
I don't quite understand the purpose of this code:
And this code at all does not make sense, because it is necessary to perform before a Twain32.OpenDSM(). Use TWAIN 2.x
I don't quite understand the purpose of this code:
if (!this._twain32.ShowUI) { this._twain32.CloseDataSource(); }
if (!this._twain32.ShowUI) { this._twain32.OpenDataSource(); this._twain32.DisableAfterAcquire = false;
if (this._twain32.IsTwain2Supported) this._twain32.IsTwain2Enable = true;