ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDFium ShowAllPages Set Page On Load
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PaulF

United Kingdom
1 Posts

Posted - Nov 07 2022 :  05:12:40  Show Profile  Reply
Hi,
I'm using PDFium plugin on single page view (ShowAllPages=False) to show say page ten of a PDF document. I'm trying to switch to ShowAllPages:=True and show the same page ten without it showing the first page.

If I'm already ShowAllPages=True, I can set the page shown using PdfViewer.PageIndex=9 and calculating the VisibleBitmapRect using PageHeight and PageSpacing. However, if I LockUpdate, ShowAllPages=True, set the page to ten, then UnlockUpdate it still shows Page One. Looks like I can only change after it is first rendered with ShowAllPages=True.

Is there a way I can jump straight to a page without showing Page One?

regards
Paul

xequte

38176 Posts

Posted - Nov 10 2022 :  14:55:42  Show Profile  Reply
Hi Paul

How about if you wrap ShowAllPages := True; and PageIndex := 9; in LockPaint/UnlockPaint?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

xequte

38176 Posts

Posted - Nov 13 2022 :  21:15:38  Show Profile  Reply
Hi Paul

In the current beta it correctly displays the current page when enabling ShowAllPages. You can email me for it.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: