Object Model Reference : Classes : P : Page : Methods : 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.
Parameter
|
Description
|
Width
|
Specifies the width of the page, measured in document units
|
Height
|
Specifies the height of the page, measured in document units
|
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 |
Copyright 2013 Corel Corporation. All rights reserved.