LEADTOOLS Support
General
General Questions
question: Document Express capability is required to use this method/property....
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, June 23, 2005 9:25:33 AM(UTC)
Groups: Registered
Posts: 1
Hi, dear sir/lady,
We are a software company and developing a image scanning software. I tried to run the example from the Lead tool document in the following, and want t o use the default config of the scanner.But I always get a exception when program hit method of theTwain.FindFastConfig(). The exception is : Document Express capability is required to use this method/property. What is reason causing that? Thanks for your help.
//theTwain.Acquire(LEAD.Drawing.Imaging.Twain.Twain.UserInterfaceConstants.None);
theTwain.OnFastConfig += new LEAD.Drawing.Imaging.Twain.Twain.FastConfigDelegate(FindFastConfigEvent);
theTwain.EnableFastConfigEvent = true;
theTwain.UserFastConfigsCount = 0;
theTwain.FindFastConfig(@"c:\Twain", LEAD.Drawing.Imaging.Twain.Twain.UserInterfaceFastConstants.Show, LEAD.Drawing.Imaging.PixelFormatConverter.Convert(1), 0);
MessageBox.Show("FindFastConfig method was successfull");
MessageBox.Show("Result Scan Configs count = " + theTwain.FastConfigsResultCount.ToString());
MessageBox.Show("Transfer Mode = " + theTwain.FastConfigsResult[0].TransferMode.ToString() + "\n" +
"File Format = " + theTwain.FastConfigsResult[0].FileFormat.ToString() + "\n" +
"Buffer Size = " + theTwain.FastConfigsResult[0].BufferSize.ToString() + "\n" +
"Required Time = " + theTwain.FastConfigsResult[0].RequiredTime.ToString());
MessageBox.Show("Transfer Mode = " + theTwain.BestFastConfig.TransferMode.ToString() + "\n" +
"File Format = " + theTwain.BestFastConfig.FileFormat.ToString() + "\n" +
"Buffer Size = " + theTwain.BestFastConfig.BufferSize.ToString() + "\n" +
"Required Time = " + theTwain.BestFastConfig.RequiredTime.ToString(), "Result Scan Configurations...");
#2
Posted
:
Sunday, June 26, 2005 8:26:49 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You need to call RasterSupport.Unlock Method at the beginning of
your program and pass in the correct unlock key to unlock the Document
Imaging features.
Bashar Abdulqaiyume
LEAD Technical Support
LEADTOOLS Support
General
General Questions
question: Document Express capability is required to use this method/property....
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.