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
 ImageEnMView + ImageEnView.PdfViewer.DeletePages
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

aleatprog

122 Posts

Posted - Apr 22 2021 :  04:44:59  Show Profile  Reply
Hi,

using ImageEnMView with AttachedImageEnView the following code works fine but deleting the first Bitmap it generates the error "List index out of bounds (-1)":

ImageEnView1.PdfViewer.DeletePages(ImageEnMView1.MultiSelectedImagesList);

Deleting a different Bitmap, e.g. pageindex 3, the page is deleted correctly and the previous page is selected, e.g. pageindex 2. Probably, deleting pageindex 0 the function searches the previous page, thus evoking the out of bounds error.

Is there any workaround?

Ale

xequte

38179 Posts

Posted - Apr 22 2021 :  22:14:41  Show Profile  Reply
Hi Ale

We have fix for this in 10.0.1. You can email me for a pre-release if you like.

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