Hello
my question is how to set the threshold-value for black/white scanning??
How to set the threshold for BW Scan??
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
-
- Posts: 11
- Joined: Mon Nov 16, 2009 1:48 pm
Re: How to set the threshold for BW Scan??
Ok I wrote this in c#:
Scanner.StartDevice();
Scanner.Capability = DeviceCapability.IThreshold;
Scanner.CapType = CapType.OneValue;
Scanner.capValue = 90;
Scanner.SetCap();
but I get a Error message that i cant convert inplizip to int because there already explizit convertion.
And VSTwain containts no definition for cap value.
Remark: I use the test version, maybe this properties arent available?
Scanner.StartDevice();
Scanner.Capability = DeviceCapability.IThreshold;
Scanner.CapType = CapType.OneValue;
Scanner.capValue = 90;
Scanner.SetCap();
but I get a Error message that i cant convert inplizip to int because there already explizit convertion.
And VSTwain containts no definition for cap value.
Remark: I use the test version, maybe this properties arent available?
-
- Posts: 11
- Joined: Mon Nov 16, 2009 1:48 pm
Re: How to set the threshold for BW Scan??
Ok, I already now the the fault