Click or drag to resize

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
)

Parameters

generateSinglePagePdf
Type: SystemBoolean
Generate a single page PDF or not.

Return Value

Type: HtmlToPdfClient
Reference to the current object.
See Also