Accusoft.ImagXpress13.Net
DeletePage 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 page to delete.

This is a one-based index.

Note: 0 is treated the same as a 1.

Deletes a page from a multi-page document.
Syntax
'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
) 

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 page to delete.

This is a one-based index.

Note: 0 is treated the same as a 1.

Remarks

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.

See Also

Reference

ImageX Class
ImageX Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback