I'd like to enable the user to have thumbnail viewer selected pages being deleted in the source file.
My approach ends here:
Dim selectedImage As VintasoftImage() = Nothing
Dim selectedIndices As Integer() = .thumbnailViewer1.SelectedIndices.ToArray()
If _myCollection.Count > 0 Then
selectedImage = New VintasoftImage(selectedIndices.Length - 1) {}
For i As Integer = 0 To _myCollection.Count - 1
selectedImage(i) = .thumbnailViewer1.Images(_myCollection(i))
Dim image As VintasoftImage = selectedImage(i)
image.Dispose() ' problem is here
Next
End If
How do I write back those remaining pages to the source file?
A code sample would greatly be appreciated!
Thank you and Best
Regards
Guenther
