Click or drag to resize

HtmlToPdfClientsetNavigationTimeout Method

Set the maximum amount of time (in seconds) that the converter will wait for the page to load.

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

Parameters

timeout
Type: SystemInt32
Timeout in seconds.

Return Value

Type: HtmlToPdfClient
Reference to the current object.
Remarks
This method is an alias for setMaxLoadTime. A timeout error is displayed when this time elapses. The default value is 30 seconds. Use a larger value (up to 120 seconds allowed) for pages that take a long time to load.
See Also