Accusoft ImagXpress 13
DeletePages Method
A String which represents the file name.

A Long value 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. Valid values are from 0 to 65535.

A Long value which represents the number of pages to delete. Valid values are from 0 to 65535.
Description
Deletes one or more pages from a multi-page document.
Syntax
Visual Basic
Public Sub DeletePages( _
   ByVal FileName As String, _
   ByVal PageNbr As Long, _
   ByVal NumPages As Long _
) 
Parameters
FileName
A String which represents the file name.
PageNbr

A Long value 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. Valid values are from 0 to 65535.

NumPages
A Long value which represents the number of pages to delete. Valid values are from 0 to 65535.
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

ImagXpress Object  | ImagXpress Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback