LEADTOOLS Support
Imaging
Imaging SDK Questions
Need more sample codes for getting barcodes from extra image information
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, January 11, 2007 6:19:41 AM(UTC)
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
#2
Posted
:
Sunday, January 14, 2007 12:21:55 AM(UTC)
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.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Need more sample codes for getting barcodes from extra image information
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.