SvgRenderer.Render
Contents
[
Hide
]Render(IDevice, TimeSpan, params SVGDocument[])
Defines method for rendering multiple SVGDocument
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 override void Render(IDevice device, TimeSpan timeout, params SVGDocument[] 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. |
documents | SVGDocument[] | The documents to render. |
See Also
- interface IDevice
- class SVGDocument
- class SvgRenderer
- namespace Aspose.Html.Rendering
- assembly Aspose.HTML
Render(IDevice, CancellationToken, params SVGDocument[])
Defines a method for rendering multiple SVGDocument
s into a specific IDevice
, using a cancellation token to request cancellation of the operation.
public override void Render(IDevice device, CancellationToken cancellationToken,
params SVGDocument[] sources)
Parameter | Type | Description |
---|---|---|
device | IDevice | The output device. |
cancellationToken | CancellationToken | A cancellation token to observe while waiting for the task to complete. |
sources | SVGDocument[] | The SVG documents to render. |
See Also
- interface IDevice
- class SVGDocument
- class SvgRenderer
- namespace Aspose.Html.Rendering
- assembly Aspose.HTML