Accusoft ImagXpress 13
DeletePage Method
The name of the file from which a page will be deleted. FileName may be a remote or local file, it may not be an http or ftp address.

The 1-indexed page number to delete.

Description
Deletes a page from a multi-page document.
Syntax
Visual Basic
Public Sub DeletePage( _
   ByVal FileName As String, _
   ByVal PageNbr As Long _
) 
Parameters
FileName
The name of the file from which a page will be deleted. FileName may be a remote or local file, it may not be an http or ftp address.
PageNbr

The 1-indexed page number to delete.

  • A value of 0 will be treated the same as a value of 1.
  • A negative value will return an IX_Error_InvalidPage error.
  • A positive value greater than the number of pages will return an IX_Error_InvalidPage error.
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 leaves 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

ImagXpress Object  | ImagXpress Members  | CompactFile Method

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback