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

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

Parameters

FileUrl
     The File from which a page will be deleted (Must be a virtual path within the scop of the web application)

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 FileUrl parameter. The path to this file must be a virtual path that is within the scope of the web application; i.e. in the root directory or a subdirectory of the web application. 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 FileUrl has a page corresponding to that number.

If the image set in the FileUrl parameter 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.WPF.Web.ImageKit Members | Newtone.ImageKit.WPF.Web.ImageKit

The ImageKit WPF is created by Newtone Corporation