HtmlToPdfClientsetSinglePagePdf Method |
Generate a single page PDF. The converter will automatically resize the PDF page to fit all the content in a single page.
The default value of this property is False and the PDF will contain several pages if the content is large.
Namespace:
SelectPdf.Api
Assembly:
SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax public HtmlToPdfClient setSinglePagePdf(
bool generateSinglePagePdf
)
Public Function setSinglePagePdf (
generateSinglePagePdf As Boolean
) As HtmlToPdfClient
Parameters
- generateSinglePagePdf
- Type: SystemBoolean
Generate a single page PDF or not.
Return Value
Type:
HtmlToPdfClientReference to the current object.
See Also