This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, January 11, 2006 8:33:27 AM(UTC)
Groups: Registered
Posts: 1
A little info:
-Using full product of LeadTools Document Imaging 14.5
-Running on Windows XP Pro SP2
-Developing in Visual Studio .NET 2003 with VB.NET on v1.1 of the Framework
I'm trying to display a multipage TIF image in our application. We received the LeadTools software today and I have started implementing some of the functionality.
Currently, I can load and display the first page of a TIF image without a problem. We're storing the binary data of the TIF image in our SQL Server 2000 database and I'm pulling that data and displaying it like so:
_codecs.StartFeedLoad(0, CodecsLoadByteOrder.BgrOrGray)
_codecs.FeedLoad(oContent, 0, oContent.Length - 1)
_viewer.Image = _codecs.StopFeedLoad()
The TIF image displays just fine, however it's only showing page one of three. Now when I debug my project and check out the PageCount property, it displays 1, when it should be 3.
You can assume the image data being pulled from the DB is correct, because I have run other tests to recreate that file...and it displays all three pages. Can anyone give me an idea of what to do in this situation?
Thanks!
#2
Posted
:
Sunday, January 15, 2006 7:35:28 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
The FeedLoad function in .NET does not provide a way of choosing pages
to load. You could use one of the overloads of the Load method that
take a Stream instead of a file name and use it to load multiple TIFF
pages from memory.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
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.