Object Model Reference : Classes : P : Page : Properties : Page.SizeHeight |
Property SizeHeight As Double
Member of Page
The SizeHeight property returns or specifies the height of a page.
The following VBA example sets all document pages to 5" × 11".
Sub Test() |
Dim p As Page |
For Each p In ActiveDocument.Pages |
p.SizeWidth = 5 |
p.SizeHeight = 11 |
Next p |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.