PageCount Property

Example-VB Example-VC++

Returns the total number of pages in the image file that is currently being displayed.

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 Edit control

Syntax

object.PageCount

Data Type

Long

Remarks

If an image is not being displayed, the PageCount property returns the total number of pages in the image file specified in the Image property.

If an image is not being displayed and the Image property does not contain the name of an image, the PageCount property generates an error.

Available at run-time as read-only.