Object Model Reference : Classes : P : PageSizes : Properties : PageSizes.Count |
Property Count As Long
Member of PageSizes
The Count property returns the number of objects in a PageSizes collection.
The Count property returns a read-only value.
The following VBA example displays the number of available page sizes for the active document.
Sub Test() |
MsgBox ActiveDocument.PageSizes.Count |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.