Class EpubRenderer

Class EpubRenderer

Namespace: Aspose.Html.Rendering
Assembly: Aspose.HTML.dll (25.2.0)

Represents a EPub document renderer.

[ComVisible(true)]
public class EpubRenderer : Renderer<stream>, IDisposable

Inheritance

objectRendererRenderer<stream>EpubRenderer

Implements

IDisposable

Inherited Members

Renderer<stream>.Render(IDevice, Stream), Renderer<stream>.Render(IDevice, Stream, TimeSpan), Renderer<stream>.Render(IDevice, Stream, int), Renderer<stream>.Render(IDevice, params Stream[]), Renderer<stream>.Render(IDevice, int, params Stream[]), Renderer<stream>.Render(IDevice, TimeSpan, params Stream[]), Renderer<stream>.Render(IDevice, CancellationToken, params Stream[]), Renderer.Dispose(), Renderer.Dispose(bool), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EpubRenderer()

public EpubRenderer()

Methods

Render(IDevice, TimeSpan, params Stream[])

Defines method for rendering multiple EPub System.IO.Streams into specific Aspose.Html.Rendering.IDevice.

public override void Render(IDevice device, TimeSpan timeout, params Stream[] sources)

Parameters

device IDevice

The output device.

timeout TimeSpan

A System.TimeSpan that represents the number of milliseconds to wait, or a System.TimeSpan that represents -1 millisecond to wait indefinitely.

sources Stream[]

The EPub documents to render.

Render(IDevice, CancellationToken, params Stream[])

Defines a method for rendering multiple EPub documents into a specific Aspose.Html.Rendering.IDevice, using a cancellation token to request cancellation of the operation.

public override void Render(IDevice device, CancellationToken cancellationToken, params Stream[] sources)

Parameters

device IDevice

The output device.

cancellationToken CancellationToken

A System.Threading.CancellationToken to observe while waiting for the task to complete.

sources Stream[]

The EPub documents to render.

Render(IDevice, Stream, Configuration)

Renders EPub document into specified Aspose.Html.Rendering.IDevice.

public void Render(IDevice device, Stream source, Configuration configuration)

Parameters

device IDevice

The device.

source Stream

The EPub document.

configuration Configuration

The configuration.

Render(IDevice, Stream, Configuration, TimeSpan)

Renders EPub document into specified Aspose.Html.Rendering.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 source, Configuration configuration, TimeSpan timeout)

Parameters

device IDevice

The device.

source Stream

The EPub document.

configuration Configuration

The configuration.

timeout TimeSpan

A System.TimeSpan that represents the number of milliseconds to wait, or a System.TimeSpan that represents -1 millisecond to wait indefinitely.

Render(IDevice, IList<stream>, Configuration)

Renders multiple EPub documents into specified Aspose.Html.Rendering.IDevice.

public void Render(IDevice device, IList<stream> sources, Configuration configuration)

Parameters

device IDevice

The device.

sources IList<Stream&gt;

The System.Collections.Generic.IList`1 of EPub documents to render.

configuration Configuration

The configuration.

Render(IDevice, IList<stream>, Configuration, TimeSpan)

Renders multiple EPub documents into specified Aspose.Html.Rendering.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> sources, Configuration configuration, TimeSpan timeout)

Parameters

device IDevice

The device.

sources IList<Stream&gt;

The System.Collections.Generic.IList`1 of EPub documents to render.

configuration Configuration

The configuration.

timeout TimeSpan

A System.TimeSpan that represents the number of milliseconds to wait, or a System.TimeSpan that represents -1 millisecond to wait indefinitely. </stream></stream></stream></stream></stream></stream></stream></stream></stream></stream>