PaperSettings.fromPaperSize Method

Creates a new paper setting with default margins and width, height, and unit that corresponds to one of the standard paper sizes.
 
 
Static This method is static.

Parameters

paperSize

Type: PaperSize
The paper size.

Return Value


Type: PaperSettings
A populated paper settings.