Accusoft.ImagXpressSdk Namespace > ImageX Class : DeletePage Method |
This is a one-based index.
Note: 0 is treated the same as a 1.
'Declaration Public Shared Sub DeletePage( _ ByVal imagXpress As ImagXpress, _ ByVal filename As String, _ ByVal pageNumber As Integer _ )
'Usage Dim imagXpress As ImagXpress Dim filename As String Dim pageNumber As Integer ImageX.DeletePage(imagXpress, filename, pageNumber)
public static void DeletePage( ImagXpress imagXpress, string filename, int pageNumber )
public: static void DeletePage( ImagXpress* imagXpress, string* filename, int pageNumber )
public: static void DeletePage( ImagXpress^ imagXpress, String^ filename, int pageNumber )
This is a one-based index.
Note: 0 is treated the same as a 1.
This method is for TIFF and EXIF file formats. It does not physically delete the image page from the file. It adjusts the pointers in the TIFF IFDs to point around the deleted image.
This operation will leave unused images in the file and therefore wasted space in the file. Use the CompactFile method to physically remove all unused pages in a file.
Note: Available in Professional edition.