Object Model Reference : Classes : P : PageSizes : Properties : PageSizes.Item |
Property Item(IndexOrName As Variant) As PageSize
Member of PageSizes
The Item property returns a specified PageSize object. It is the default property of the PageSizes class.
The Item property returns a read-only value.
The following VBA example displays the name of the second page size in the PageSizes collection:
Sub Test() |
MsgBox ActiveDocument.PageSizes(2).Name |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.