Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, January 11, 2007 6:19:41 AM(UTC)
Raymond Lee

Groups: Registered
Posts: 30


Hi,

I just browsed through the help file of leadtools v15, I found that it supports to get extended image information from TWAIN device. However, the help only lists this coding:

TwainSession session = new TwainSession(); 
   session.Startup(parent, "manufacturer", "productFamily", "version", "application", TwainStartupFlags.None); 
 
   TwainExtraImageInformation extraImgInfo = new TwainExtraImageInformation(2); 
   try 
   { 
      extraImgInfo.GetInformation(0).InfoId = TwainExtendedImage.BarcodeCount; 
      extraImgInfo.GetInformation(0).ItemType = TwainItemType.Uint32; 
      extraImgInfo.GetInformation(0).ConditionCode = TwainConditionCode.Success; 
      extraImgInfo.GetInformation(1).InfoId = TwainExtendedImage.BarcodeType; 
      extraImgInfo.GetInformation(1).ItemType = TwainItemType.Uint32; 
      session.UpdateExtraImageInformation(extraImgInfo); 
      //. 
      //. Do processing to returned values 
      //. 
   } 

I don't know what I should do in "Do processing to returned values" part. Any place I can find more sample code for .NET part? Any help demo do this?

Please kindly advised.

Thanks for your kind attention,

Raymond

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, January 14, 2007 12:21:55 AM(UTC)

Qasem Lubani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


I currently don't have a sample that contains more details, but the following post contains a COM example that does:


http://support.leadtools.com/SupportPortal/cs/forums/9000/ShowPost.aspx#9000




Although the post uses a different version of
LEADTOOLS and a different programming interface, you might find useful tips by reading the code.

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.064 seconds.