Deleting multiple pages

Discussions about the ThumbnailEx control of GdPicture.NET.
Post Reply
indxlogic
Posts: 7
Joined: Tue Aug 21, 2012 4:42 pm

Deleting multiple pages

Post by indxlogic » Wed Aug 22, 2012 4:26 pm

I have created a basic document viewer with a thumbnail view on the side. I am giving my clients the option to select multiple pages and delete them from a document. I have not found a way to do this as easily as I would like. What I am currently doing is creating a for loop from 0 -> page count and then checking to see if ThumbnailEx.GetItemSelectState(i). If the item is NOT selected I add it to a new image. Then I save the new image sans selected pages and redisplay. Is this the best practice for deleting multiple pages, or have I missed a better method?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests