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
 ImageEnMView + ImageEnView.PdfViewer.DeletePages

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
aleatprog Posted - Apr 22 2021 : 04:44:59
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 22 2021 : 22:14:41
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