Loading...

Loading the last pdf frame.

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

Loading the last pdf frame.

Postby Sami » Wed Dec 16, 2009 6:24 pm

When loading a pdf file in IE using DisplayFromURL(), how I can display the last frame directly?

If I use the method DisplayLastFrame() after loading the file, I still see the first page for a moment.

Best Regards,

Sami
Sami
 
Posts: 2
Joined: Wed Dec 16, 2009 6:19 pm

Re: Loading the last pdf frame.

Postby Loïc » Sat Dec 19, 2009 5:05 pm

Hi,

Here a solution:

Code: Select all
GdViewer1.LockControl  = True
GdViewer1.DisplayFromURL()
GdViewer1.LockControl  = False
GdViewer1.DisplayLastFrame()


Hope this helps.

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Loading the last pdf frame.

Postby Sami » Sun Dec 20, 2009 4:52 pm

It works! :)

Thanks a lot.

Sami
Sami
 
Posts: 2
Joined: Wed Dec 16, 2009 6:19 pm


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: Google [Bot] and 1 guest