Previous Document Next Document
PageSizes.Item

Property Item(IndexOrName As Variant) As PageSize

Member of PageSizes

The Item property returns the specified PageSize object.

The Item property returns a read-only value.

Parameters
Description
IndexOrName
Specifies the item by its name or index number
 

The following code example displays the name of the second page size in the PageSizes collection:

Sub Test() 
 MsgBox ActiveDocument.PageSizes(2).Name 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.