HtmlRenderer.Render

Render(IDevice, TimeSpan, params HTMLDocument[])

Defines method for rendering multiple HTMLDocuments into specific IDevice.

public override void Render(IDevice device, TimeSpan timeout, params HTMLDocument[] sources)
ParameterTypeDescription
deviceIDeviceThe output device.
timeoutTimeSpanA TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely.
sourcesHTMLDocument[]The HTML documents to render.

See Also


Render(IDevice, CancellationToken, params HTMLDocument[])

Defines a method for rendering multiple HTMLDocuments into a specific IDevice, using a cancellation token to request cancellation of the operation.

public override void Render(IDevice device, CancellationToken cancellationToken, 
    params HTMLDocument[] sources)
ParameterTypeDescription
deviceIDeviceThe output device.
cancellationTokenCancellationTokenA CancellationToken to observe while waiting for the task to complete.
sourcesHTMLDocument[]The HTML documents to render.

See Also