Some of the content in this topic may not be applicable to some languages.
You can use the PageCount property to determine the number of pages in a snapshot.
The PageCount property is a Long value representing the number of pages in a snapshot.
This property is available only by using Visual Basic and is read-only.
If you try to determine the PageCount property while no valid snapshot file is open, an error occurs.