Previous Document Next Document

Object Model Reference : Classes : P : PageSizes : Properties : PageSizes.Count


PageSizes.Count

Property Count As Long

Description

Member of PageSizes

The Count property returns the number of objects in a PageSizes collection.

The Count property returns a read-only value.

VBA example

The following VBA example displays the number of available page sizes for the active document.

Sub Test()
 MsgBox ActiveDocument.PageSizes.Count
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.