API Documentation > CorelDRAW > 2025-v26 > Page > IVGPage
Page.SetSize method
Sets the size of the page
Syntax:
Sub SetSize(ByVal Width As Double, ByVal Height As Double)
Parameters:
Name Type Description
Width
Double
Height
Double
Remarks:
The SetSize method sets both the width and height of a page.
Examples:
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