Previous Document Next Document

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


Page.SizeHeight

Property SizeHeight As Double

Description

Member of Page

The SizeHeight property returns or specifies the height 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.