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 Tue May 22, 2012 2:20 am




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SetImageLayout (Plug-In)
PostPosted: Mon Apr 03, 2006 2:59 am 
Offline

Joined: Mon Mar 27, 2006 8:35 am
Posts: 3
hi,
if I use the plug-in in FireFox, the method "SetImageLayout" seem don't work and after the call the code is stopped...
this is my code:

scannerComponent.RemoveAllImages();
scannerComponent.IfShowUI=0;
scannerComponent.IfShowIndicator=1;
scannerComponent.IfDisableSourceAfterAcquire=1;
scannerComponent.OpenSource();
scannerComponent.Unit = 5;
scannerComponent.SetImageLayout(0,0,620,877)
scannerComponent.AcquireImage();

thank you..


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 03, 2006 10:16 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
The SetImageLayOut method can work in Dynamic Web TWAIN plug-in. In this line of code:

Code:
scannerComponent.SetImageLayout(0,0,620,877)


Please add a semicolon after this line.

If this problem persists, would you please try setting the parameters of SetImageLayOut method to smaller values to see if the problem still exists?

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  [ 2 posts ] 

It is currently Tue May 22, 2012 2:20 am


Who is online

Users browsing this forum: hlryndjugycm, qexjotsvmdc 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