HtmlRenderer.Render
Contents
[
Hide
]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)
| 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. |
| sources | HTMLDocument[] | The HTML documents to render. |
See Also
- interface IDevice
- class HTMLDocument
- class HtmlRenderer
- namespace Aspose.Html.Rendering
- assembly Aspose.HTML
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)
| Parameter | Type | Description |
|---|---|---|
| device | IDevice | The output device. |
| cancellationToken | CancellationToken | A CancellationToken to observe while waiting for the task to complete. |
| sources | HTMLDocument[] | The HTML documents to render. |
See Also
- interface IDevice
- class HTMLDocument
- class HtmlRenderer
- namespace Aspose.Html.Rendering
- assembly Aspose.HTML