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
)
Public Function setPageWidth (
pageWidth As Integer
) As HtmlToPdfClient
Parameters
- pageWidth
- Type: SystemInt32
Page width in points.
Return Value
Type:
HtmlToPdfClientReference to the current object.
Remarks This is taken into account only if page size is set to Custom using setPageSize method.
See Also