Click or drag to resize

HtmlToPdfClientsetViewerFitWindow Method

Set a flag specifying whether to resize the document's window to fit the size of the first displayed page. The default value is False.

Namespace:  SelectPdf.Api
Assembly:  SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax
public HtmlToPdfClient setViewerFitWindow(
	bool viewerFitWindow
)

Parameters

viewerFitWindow
Type: SystemBoolean
Fit window or not.

Return Value

Type: HtmlToPdfClient
Reference to the current object.
See Also