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
)
Public Function setPageSize (
pageSize As PageSize
) As HtmlToPdfClient
Parameters
- pageSize
- Type: SelectPdf.ApiPageSize
PDF page size.
Return Value
Type:
HtmlToPdfClientReference 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