Previous Document Next Document

Object Model Reference : Classes : P : Page : Properties : Page.SizeWidth


Page.SizeWidth

Property SizeWidth As Double

Description

Member of Page

The SizeWidth property returns or specifies the width of a page.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.