HtmlRenderer.Render
Contents
[
Hide
]Render(IDevice, TimeSpan, params Document[])
Defines method for rendering multiple Document
s into specific IDevice
. The rendering will be performed once there are no any network operations for loading resources, active timers, animation tasks or specified timeout is elapsed.
public void Render(IDevice device, TimeSpan timeout, params Document[] documents)
Parameter | Type | Description |
---|---|---|
device | IDevice | The output device. |
timeout | TimeSpan | A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely. |
documents | Document[] | The documents to render. |
See Also
- interface IDevice
- class Document
- class HtmlRenderer
- package com.aspose.html.Rendering
- package Aspose.HTML
Render(IDevice, CancellationToken, params Document[])
Defines a method for rendering multiple Document
s into a specific IDevice
, using a cancellation token to request cancellation of the operation.
public void Render(IDevice device, CancellationToken cancellationToken,
params Document[] documents)
Parameter | Type | Description |
---|---|---|
device | IDevice | The output device. |
cancellationToken | CancellationToken | A CancellationToken to observe while waiting for the task to complete. |
documents | Document[] | The documents to render. |
See Also
- interface IDevice
- class Document
- class HtmlRenderer
- package com.aspose.html.Rendering
- package Aspose.HTML