API Documentation > CorelDRAW > 2025-v26 > Page > IVGPage
Page.SelectSize method
Changes the page size based on the given preset page size name
Syntax:
Sub SelectSize(ByVal PageSizeName As String, Optional ByVal Landscape As Boolean = False)
Parameters:
Name Type Description
PageSizeName
String
Landscape
Boolean
Specifies whether the page layout is landscape.
Remarks:
The SelectSize method changes the page size based on a given preset page-size name.