Click or drag to resize

HtmlToPdfClientsetPageSize Method

Set PDF page size. Default value is A4.

Namespace:  SelectPdf.Api
Assembly:  SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax
public HtmlToPdfClient setPageSize(
	PageSize pageSize
)

Parameters

pageSize
Type: SelectPdf.ApiPageSize
PDF page size.

Return Value

Type: HtmlToPdfClient
Reference to the current object.
Remarks
If page size is set to Custom, use setPageWidth and setPageHeight methods to set the custom width/height of the PDF pages.
See Also