EpubRenderer.Render
Render(IDevice, TimeSpan, params Stream[])
Defines method for rendering multiple EPub Streams 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 Stream[] 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 | Stream[] | The documents to render. |
See Also
- interface IDevice
- class EpubRenderer
- package com.aspose.html.Rendering
- package Aspose.HTML
Render(IDevice, CancellationToken, params Stream[])
Defines a method for rendering multiple EPub documents into a specific IDevice
, using a cancellation token to request cancellation of the operation.
public void Render(IDevice device, CancellationToken cancellationToken,
params Stream[] documents)
Parameter | Type | Description |
---|---|---|
device | IDevice | The output device. |
cancellationToken | CancellationToken | A CancellationToken to observe while waiting for the task to complete. |
documents | Stream[] | The documents to render. |
See Also
- interface IDevice
- class EpubRenderer
- package com.aspose.html.Rendering
- package Aspose.HTML
Render(IDevice, Stream, Configuration)
Renders EPub document into specified IDevice
.
public void Render(IDevice device, Stream document, Configuration configuration)
Parameter | Type | Description |
---|---|---|
device | IDevice | The device. |
document | Stream | The document. |
configuration | Configuration | The configuration. |
See Also
- interface IDevice
- class Configuration
- class EpubRenderer
- package com.aspose.html.Rendering
- package Aspose.HTML
Render(IDevice, Stream, Configuration, TimeSpan)
Renders EPub document 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.
public void Render(IDevice device, Stream document, Configuration configuration, TimeSpan timeout)
Parameter | Type | Description |
---|---|---|
device | IDevice | The device. |
document | Stream | The document. |
configuration | Configuration | The configuration. |
timeout | TimeSpan | A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely. |
See Also
- interface IDevice
- class Configuration
- class EpubRenderer
- package com.aspose.html.Rendering
- package Aspose.HTML
Render(IDevice, IList<Stream>, Configuration)
Renders multiple EPub documents into specified IDevice
.
public void Render(IDevice device, IList<Stream> documents, Configuration configuration)
Parameter | Type | Description |
---|---|---|
device | IDevice | The device. |
documents | IList`1 | The IList of documents to render. |
configuration | Configuration | The configuration. |
See Also
- interface IDevice
- class Configuration
- class EpubRenderer
- package com.aspose.html.Rendering
- package Aspose.HTML
Render(IDevice, IList<Stream>, Configuration, TimeSpan)
Renders multiple EPub documents 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.
public void Render(IDevice device, IList<Stream> documents, Configuration configuration,
TimeSpan timeout)
Parameter | Type | Description |
---|---|---|
device | IDevice | The device. |
documents | IList`1 | The IList of documents to render. |
configuration | Configuration | The configuration. |
timeout | TimeSpan | A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely. |
See Also
- interface IDevice
- class Configuration
- class EpubRenderer
- package com.aspose.html.Rendering
- package Aspose.HTML