Search found 1719 matches

by Alex
Wed Jan 13, 2010 11:35 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning multiple pages
Replies: 7
Views: 11029

Re: Scanning multiple pages

Hello Bill,
Well I have it now scanning multiple pages and creating only one pdf file but it always only saves the last page.
What scanner do you have? Maybe Brother?

Please read this topic:
viewtopic.php?f=19&t=3

Best regards, Alexander
by Alex
Wed Jan 13, 2010 11:34 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning document with black background...
Replies: 6
Views: 11580

Re: Scanning document with black background...

Hello Umesh,

DeviceCapability.IPixelFlavor capability allows to specify value (0 or 1) of the black color.

Best regards, Alexander
by Alex
Tue Jan 12, 2010 11:52 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning multiple pages
Replies: 7
Views: 11029

Re: Scanning multiple pages

Do I need to set the MaxImages property to the number of pages being scanned?
Yes, you should set the MaxImages property if you want to store pages in the internal buffer of the library but make sure that you have enough memory. The best way is to store images in the MemoryStream or file.
by Alex
Tue Jan 12, 2010 9:17 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scanning multiple pages
Replies: 7
Views: 11029

Re: Scanning multiple pages

Hello Bill, Your code has logical mistake - you should use "while" statement instead of the "if" when you work with AcquireModal method. Here is correct code: try { vsTwain1.StartDevice(); vsTwain1.ShowUI = false; if (vsTwain1.SelectSource()) { vsTwain1.DisableAfterAcquire = true; vsTwain1.MaxImages...
by Alex
Mon Jan 11, 2010 3:59 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: isBlankImage method - calling via Javascript
Replies: 1
Views: 5092

Re: isBlankImage method - calling via Javascript

Hello, Version 6.0.3.1 of VintaSoftTwain.NET Library has new property - the NoiseLevel property which allows to get noise level in the image in JavaScript. Here is a snippet of code: var currentNoiseLevel = 0 // dummy variable if (VSTwain1.IsBlankImage(0, 0.01, currentNoiseLevel) == true) alert("Ima...
by Alex
Mon Jan 11, 2010 2:50 pm
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scan documents with ADF Scanner...
Replies: 3
Views: 7097

Re: Scan documents with ADF Scanner...

I get the first image scanned correctly, but the second image is the copy of first image. What value of the MaxImages property do you use? You should use the code below if value of the MaxImages property is greater 1: If bFirstImage Then oImageMemoryStream = VSTwain.GetImageAsStream(VSTwain1.NumIma...
by Alex
Mon Jan 11, 2010 10:34 am
Forum: VintaSoft Twain ActiveX Discussions
Topic: VintaSoftTwain ActiveX in laptop with integrated webcam
Replies: 1
Views: 8272

Re: VintaSoftTwain ActiveX in laptop with integrated webcam

Hello Ana,

You have no sources - this means that you do not have TWAIN or WIA drivers installed in the system. Please try to find TWAIN or WIA driver for your webcam.

Best regards, Alexander
by Alex
Mon Jan 11, 2010 10:33 am
Forum: VintaSoft Twain ActiveX Discussions
Topic: Problem with VintaSoftTwain ActiveX Examples
Replies: 1
Views: 7620

Re: Problem with VintaSoftTwain ActiveX Examples

Hello, ...CODEBASE="http://localhost/VSTwainDemo/cab/VSTwain.dll#version=5,1,0,3"> ...The cab file is where it's supposed to be but when ScanStart() is triggered methods that are expected are not there... You must use the following string if you use CAB file: CODEBASE="http://localhost/VSTwainDemo/c...
by Alex
Mon Jan 11, 2010 10:12 am
Forum: VintaSoft Twain .NET SDK Discussions
Topic: Scan documents with ADF Scanner...
Replies: 3
Views: 7097

Re: Scan documents with ADF Scanner...

Hello Umesh, I want to know, how I upload the multiple pages with ADF scanner? Your code has logical mistake, here is correct code: Dim oImageMemoryStream as memorystream If bFirstImage Then oImageMemoryStream = VSTwain.GetImageAsStream(0, ImageFileFormat.TIFF) bFirstImage = False Else VSTwain.SaveI...
by Alex
Thu Dec 10, 2009 8:12 pm
Forum: VintaSoft Imaging .NET SDK and Plug-ins Discussions
Topic: MultiSelect thumbs
Replies: 1
Views: 7190

Re: MultiSelect thumbs

Hello,

You can use this code to select the second image in the viewer:

Code: Select all

thumbnailViewer.SelectedIndices.Add(1)
thumbnailViewer.Invalidate()
Best regards, Alexander