Accusoft.ImagXpressSdk Namespace > ImageX Class : DeletePages Method |
This is a one-based index.
Note: 0 is treated the same as a 1.
'Declaration Public Shared Sub DeletePages( _ ByVal imagXpress As ImagXpress, _ ByVal filename As String, _ ByVal pageNumber As Integer, _ ByVal numberOfPages As Integer _ )
'Usage Dim imagXpress As ImagXpress Dim filename As String Dim pageNumber As Integer Dim numberOfPages As Integer ImageX.DeletePages(imagXpress, filename, pageNumber, numberOfPages)
public static void DeletePages( ImagXpress imagXpress, string filename, int pageNumber, int numberOfPages )
public: static void DeletePages( ImagXpress* imagXpress, string* filename, int pageNumber, int numberOfPages )
public: static void DeletePages( ImagXpress^ imagXpress, String^ filename, int pageNumber, int numberOfPages )
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 pages from the file. It adjusts the pointers in the TIFF IFDs to point around the deleted images.
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.