Previous Document Next Document
Page.SetSize

Sub SetSize(Width As Double, Height As Double)

Member of Page

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

Parameters
Description
Width
Sets the width of a page, measured in document units
Height
Sets the height of a page, measured in document units

The following code example sets the width of the active page to 4.25 inches and the height to 5.5 inches.

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

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.