API Documentation
>
CorelDRAW
>
2025-v26
>
PrintSettings
>
IPrnVBAPrintSettings
PrintSettings.SetPaperSize method
Selects a preset printer paper size and orientation
Syntax:
Sub
SetPaperSize
(
ByVal
PaperSize
As
PrnPaperSize
,
ByVal
Orientation
As
PrnPaperOrientation
)
Parameters:
Name
Type
Description
PaperSize
PrnPaperSize
Orientation
PrnPaperOrientation
Remarks:
The
SetPaperSize
method selects a preset paper size (as
PrnPaperSize
) and orientation (as
PrnPaperOrientation
) for the printer.