Previous Document Next Document

Object Model Reference : Classes : P : Page : Methods : Page.SetSize


Page.SetSize

Sub SetSize(Width As Double, Height As Double)

Description

Member of Page

The SetSize method sets both the width and height of a page.

Parameter
Description
Width
Specifies the width of the page, measured in document units
Height
Specifies the height of the page, measured in document units

VBA example

The following VBA example sets the width of the active page to 4.25" and the height to 5.5".

Sub Test()
 ActivePage.SetSize 4.25, 5.5
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.