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 : Wednesday, January 11, 2006 8:33:27 AM(UTC)

mello  
mello

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!
 

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 15, 2006 7:35:28 AM(UTC)

Amin  
Amin

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.
LEAD Logo
 
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.103 seconds.