Click or drag to resize

HtmlToPdfClientsetPageWidth Method

Set PDF page width in points. Default value is 595pt (A4 page width in points). 1pt = 1/72 inch.

Namespace:  SelectPdf.Api
Assembly:  SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax
public HtmlToPdfClient setPageWidth(
	int pageWidth
)

Parameters

pageWidth
Type: SystemInt32
Page width in points.

Return Value

Type: HtmlToPdfClient
Reference to the current object.
Remarks
This is taken into account only if page size is set to Custom using setPageSize method.
See Also