HtmlToPdfClientsetMaxLoadTime 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 setMaxLoadTime(
int maxLoadTime
)
Public Function setMaxLoadTime (
maxLoadTime As Integer
) As HtmlToPdfClient
Parameters
- maxLoadTime
- Type: SystemInt32
Timeout in seconds.
Return Value
Type:
HtmlToPdfClientReference to the current object.
Remarks
This method is an alias for setNavigationTimeout. 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