Share via


PageCount Property

Specifies the number of pages contained in a page frame. Available at design time and run time.

PageFrame.PageCount[ = nPages]

Property Values

  • nPages
    Specifies the number of pages contained in a page frame.

Remarks

The minimum value for the PageCount property setting is 0, and the maximum value is 99.

Caution   If you decrease the PageCount property setting (for example, if you change the setting from 3 to 2), all pages that exceed the new setting and the objects they contain are lost.

See Also

ButtonCount Property | ControlCount Property | FormCount Property | Page Object

Applies To: PageFrame