PageSize

PageSize class

Contains information about page size for the generated images.

new PageSize(paperSizeFormat)

Initializes a new instance of this class that can be used to set page size for the generated images.

Methods

NameDescription
constructor_overload$1(width, height)Initializes a new instance of this class that can be used to set page size for the generated images.
getHeight()Gets or sets the page height in points for the the generated images. The value must be > 0. If Height is set,Width must
getPaperSizeFormat()Gets or sets the paper size format for the generated images. Can be PaperSizeFormat. The value of the property is PaperS
getWidth()Gets or sets the page width in points for the the generated images. The value must be > 0. If Width is set, Height must
setHeight()Gets or sets the page height in points for the the generated images. The value must be > 0. If Height is set,Width must
setPaperSizeFormat()Gets or sets the paper size format for the generated images. Can be PaperSizeFormat. The value of the property is PaperS
setWidth()Gets or sets the page width in points for the the generated images. The value must be > 0. If Width is set, Height must

constructor_overload$1(width, height)

Initializes a new instance of this class that can be used to set page size for the generated images.

ParameterTypeDescription
widthNumberPage width in points for the the generated images.
heightNumberPage height in points for the the generated images.

getHeight()

Gets or sets the page height in points for the the generated images. The value must be > 0. If Height is set,Width must be set too.

getPaperSizeFormat()

Gets or sets the paper size format for the generated images. Can be PaperSizeFormat. The value of the property is PaperSizeFormat integer constant.

getWidth()

Gets or sets the page width in points for the the generated images. The value must be > 0. If Width is set, Height must be set too.

setHeight()

Gets or sets the page height in points for the the generated images. The value must be > 0. If Height is set,Width must be set too.

setPaperSizeFormat()

Gets or sets the paper size format for the generated images. Can be PaperSizeFormat. The value of the property is PaperSizeFormat integer constant.

setWidth()

Gets or sets the page width in points for the the generated images. The value must be > 0. If Width is set, Height must be set too.