public abstract class Renderer<TDocument>
extends com.aspose.html.rendering.RendererBase
Represents an abstract class for the all renderers.
TDocument
: The type of the document.
IDisposable
Constructor and Description |
---|
Renderer() |
Modifier and Type | Method and Description |
---|---|
void |
render(IDevice device,
int timeout,
TDocument[] documents)
Defines method for rendering multiple
TDocument s into specific IDevice . |
void |
render(IDevice device,
TDocument document)
Defines method for rendering
TDocument into specified IDevice . |
void |
render(IDevice device,
TDocument[] documents)
Defines method for rendering multiple
TDocument s into specific IDevice . |
void |
render(IDevice device,
TDocument document,
int timeout)
Defines method for rendering
TDocument into specified IDevice . |
void |
render(IDevice device,
TDocument document,
com.aspose.html.internal.ms.System.TimeSpan timeout)
Defines method for rendering
TDocument into specified IDevice . |
abstract void |
render(IDevice device,
com.aspose.html.internal.ms.System.TimeSpan timeout,
TDocument document)
Defines method for rendering
TDocument into specific IDevice . |
abstract void |
render(IDevice device,
com.aspose.html.internal.ms.System.TimeSpan timeout,
TDocument[] documents)
Defines method for rendering multiple
TDocument s into specific IDevice . |
public void render(IDevice device, TDocument document)
Defines method for rendering TDocument
into specified IDevice
.
device
- The output device.document
- The document.public void render(IDevice device, TDocument document, com.aspose.html.internal.ms.System.TimeSpan timeout)
Defines method for rendering TDocument
into specified 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.
device
- The output device.document
- The document.timeout
- A TimeSpan
that represents the number of milliseconds to wait, or a TimeSpan
that represents -1 millisecond to wait indefinitely.public void render(IDevice device, TDocument document, int timeout)
Defines method for rendering TDocument
into specified 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.
device
- The output device.document
- The document.timeout
- A number of milliseconds that represents the number of milliseconds to wait, or -1 millisecond to wait indefinitely.public void render(IDevice device, TDocument[] documents)
Defines method for rendering multiple TDocument
s into specific IDevice
.
device
- The output device.documents
- The documents to render.public void render(IDevice device, int timeout, TDocument[] documents)
Defines method for rendering multiple TDocument
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.
device
- The output device.timeout
- A number of milliseconds that represents the number of milliseconds to wait, or -1 millisecond to wait indefinitely.documents
- The documents to render.public abstract void render(IDevice device, com.aspose.html.internal.ms.System.TimeSpan timeout, TDocument[] documents)
Defines method for rendering multiple TDocument
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.
device
- The output device.timeout
- A TimeSpan
that represents the number of milliseconds to wait, or a TimeSpan
that represents -1 millisecond to wait indefinitely.documents
- The documents to render.public abstract void render(IDevice device, com.aspose.html.internal.ms.System.TimeSpan timeout, TDocument document)
Defines method for rendering TDocument
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.
device
- The output device.timeout
- A TimeSpan
that represents the number of milliseconds to wait, or a TimeSpan
that represents -1 millisecond to wait indefinitely.document
- The documents to render.