Deleting multiple pages
Posted: 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?