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 DeletePages and MovePages
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jrpcguru

USA
254 Posts

Posted - May 08 2021 :  19:26:38  Show Profile  Reply
I'm testing PDFium via your demo program.
I load a 12 page PDF file to test the Delete Page button and Move Page to End buttons.

If the first page of the file is displayed, the Delete button generates a List index out of bounds error and the error appears over and over again. This is true for both buttons. Also both buttons appear to work correctly with any page except the first page.

For DeletePages, I have confirmed that the first page is PageIndex = 0 and I'm guessing that when it is deleted, that yields a PageIndex of -1. I hoped to overcome this by first moving the page, but I tried several versions of the MovePages and still got the error.

J.R.

xequte

38189 Posts

Posted - May 09 2021 :  19:48:38  Show Profile  Reply
Hi JR

This issues is fixed in the current beta of 10.0.1. You can email me for a pre-release.

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