DeletePages Method

Example-VB Example-VC++

Deletes a user-specified range of pages from the image file.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Admin control

Syntax

object.DeletePages StartPage,NumPages

Arguments

Parameter Data Type Description

StartPage Long First page to be deleted
NumPages Long Number of pages to be deleted, including StartPage

Remarks

The image file is specified by the Image property.

Pages cannot be deleted if they are being used by any Eastman Software/Wang Imaging application or Imaging ActiveX control.

If StartPage is within the image, and NumPages is greater than the number of pages in the image, all the pages after StartPage are deleted.