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 » Thu Nov 19, 2009 5:04 pm

Hello
my question is how to set the threshold-value for black/white scanning??

Alex
Site Admin
Posts: 1462
Joined: Thu Jul 10, 2008 2:21 pm

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

Post by Alex » Thu Nov 19, 2009 5:40 pm

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 » Thu Nov 19, 2009 6:17 pm

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 » Thu Nov 19, 2009 6:28 pm

Ok, I already now the the fault

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest