Need help !!! Lazy loading on GdViewer from HTTP

Discussions about document viewing.
Post Reply
thanhp
Posts: 1
Joined: Wed Jan 09, 2013 6:20 am

Need help !!! Lazy loading on GdViewer from HTTP

Post by thanhp » Wed Jan 09, 2013 6:33 am

Hi all,

My case:

- I have a big pdf (100,000 pages) from a HTTP server.
- This pdf file is generated by GdPicture library with method https://www.gdpicture.com/guides/gdpicture/v9/html/con ... olean.html with 2 last parameters are set to True
- When I view this file in Browser (with Acrobat plugin), I can find that the file is displayed the first pages immediately once they're loaded, and the rest pages are loaded asynchronously in the background
- But when I use GdViewer, the file is displayed until the entire file is downloaded.

Question:

- How can I achieve the same feature with browser when I use GdViewer? This is very urgent from my customer and I need you help soon.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Need help !!! Lazy loading on GdViewer from HTTP

Post by Loïc » Wed Jan 09, 2013 6:55 pm

Hello,

The GdViewer control requires to have the full file content before starting the loading process. In other words the GdPicture.NET toolkit can create PDF with Fast Web View Mode (or linearized PDF) but to open such PDF it still need to have the whole file content loaded.

kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest