TWAIN ActiveX Control, Plug-in, Scanner SDK, Component, HTTP Control/SDK

Dynamsoft TWAIN Products

Support Community for TWAIN Control/Component/SDK for Scanning Solutions
* Login   * Register
* FAQ    * Search

It is currently Sun May 20, 2012 2:05 pm




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: customized scan
PostPosted: Tue Aug 03, 2010 9:15 pm 
Offline

Joined: Tue Aug 03, 2010 8:33 pm
Posts: 5
Hi,

I'm trying to set the custom scan button that when it was clicked it must be
pixel type: gray,
resolution: 100

i only have a select, button and div in my design. when i clicked the button nothing happens.

Code:
function btnScan_onclick()
{
   var Plugin = document.embeds[0];

     Plugin.SelectSourceByIndex(document.all.source.selectedIndex);
     Plugin.CloseSource();   
     
     Plugin.OpenSource();
          
      Plugin.PixelType = 2; 
        Plugin.IfDisableSourceAfterAcquire = true;
      Plugin.Resolution = 100;

     Plugin.AcquireImage();
}


What am i doing wrong?

thank you..

cheers,
katie


Top
 Profile  
 
 Post subject: Re: customized scan
PostPosted: Wed Aug 04, 2010 11:21 pm 
Offline

Joined: Tue Aug 03, 2010 8:33 pm
Posts: 5
:wink: i just resolve my problem about customized scan!. thanks


Top
 Profile  
 
 Post subject: Re: customized scan
PostPosted: Thu Aug 05, 2010 4:43 am 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
Hi katie,

Glad to know the issue has been resolved. Would you be so kind as to share with us how you managed to resolve the issue?

Thanks.

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

It is currently Sun May 20, 2012 2:05 pm


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog