Accusoft.ImagXpress13.Net
DeletePages Method




An ImagXpress workspace instance.
A string which represents the TIFF or EXIF file name.
An integer value from 0 to 65535 which represents the starting page of the pages to delete.

This is a one-based index.

Note: 0 is treated the same as a 1.

An integer value from 1 to 65535 which represents the number of pages to delete.
Deletes one or more pages from a multi-page document.
Syntax
'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
) 

Parameters

imagXpress
An ImagXpress workspace instance.
filename
A string which represents the TIFF or EXIF file name.
pageNumber
An integer value from 0 to 65535 which represents the starting page of the pages to delete.

This is a one-based index.

Note: 0 is treated the same as a 1.

numberOfPages
An integer value from 1 to 65535 which represents the number of pages to delete.
Remarks

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.

See Also

Reference

ImageX Class
ImageX Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback