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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDFium DeletePages and MovePages

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jrpcguru Posted - May 08 2021 : 19:26:38
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.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 09 2021 : 19:48:38
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