This method deletes the specified page from a multipage tiff file.

[Visual Basic] Public Function DeletePageFromMultipageTiff(deletePage As Integer) As Boolean
[C#] public bool DeletePageFromMultipageTiff(int deletePage);

Parameters

deletePage
     The page to be deleted

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The DeletePageFromMultipageTiff method deletes the specified page from a multipage tiff file. The Tiff file is set in the FileName property. The page to be deleted from this file is set in the deletePage parameter. This method is enabled when the deletePage parameter has a value of 1 or more and the image set in the FileName property has a page corresponding to that number.

If the image set in the FileName property is not a valid Tiff image or if the deletePage parameter has a value of 0 or less or if the number a pages in the Tiff file is less than the value set in the deletePage parameter then this method will fail and return False.

Also See

ImageKit.File Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation