Object Model Reference : Classes : P : Page : Properties : Page.SizeWidth |
Property SizeWidth As Double
Member of Page
The SizeWidth property returns or specifies the width 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.