How to set the threshold for BW Scan??

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Moderator: Alex

Post Reply
BioT09
Posts: 11
Joined: Mon Nov 16, 2009 1:48 pm

How to set the threshold for BW Scan??

Post by BioT09 »

Hello
my question is how to set the threshold-value for black/white scanning??
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: How to set the threshold for BW Scan??

Post by Alex »

Hello,

Please see this topic:
viewtopic.php?f=5&t=19

Best regards, Alexander
BioT09
Posts: 11
Joined: Mon Nov 16, 2009 1:48 pm

Re: How to set the threshold for BW Scan??

Post by BioT09 »

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?
BioT09
Posts: 11
Joined: Mon Nov 16, 2009 1:48 pm

Re: How to set the threshold for BW Scan??

Post by BioT09 »

Ok, I already now the the fault
Post Reply