API Documentation > CorelDRAW > 2025-v26 > PrintSettings > IPrnVBAPrintSettings
PrintSettings.SetCustomPaperSize method
Specifies a custom printer paper size
Syntax:
Sub SetCustomPaperSize(ByVal Width As Double, ByVal Height As Double, ByVal Orientation As PrnPaperOrientation)
Parameters:
Name Type Description
Width
Double
Height
Double
Orientation
Remarks:
The SetCustomPaperSize method specifies a custom paper size for the printer.