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 override void Render(IDevice device, TimeSpan timeout, params Stream[] sources)
ParameterTypeDescription
deviceIDeviceThe output device.
timeoutTimeSpanA TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely.
documentsStream[]The documents to render.

See Also


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 override void Render(IDevice device, CancellationToken cancellationToken, 
    params Stream[] sources)
ParameterTypeDescription
deviceIDeviceThe output device.
cancellationTokenCancellationTokenA CancellationToken to observe while waiting for the task to complete.
sourcesStream[]The EPub documents to render.

See Also


Render(IDevice, Stream, Configuration)

Renders EPub document into specified IDevice.

public void Render(IDevice device, Stream source, Configuration configuration)
ParameterTypeDescription
deviceIDeviceThe device.
documentStreamThe document.
configurationConfigurationThe configuration.

See Also


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 source, Configuration configuration, TimeSpan timeout)
ParameterTypeDescription
deviceIDeviceThe device.
documentStreamThe document.
configurationConfigurationThe configuration.
timeoutTimeSpanA TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely.

See Also


Render(IDevice, IList<Stream>, Configuration)

Renders multiple EPub documents into specified IDevice.

public void Render(IDevice device, IList<Stream> sources, Configuration configuration)
ParameterTypeDescription
deviceIDeviceThe device.
documentsIList`1The IList of documents to render.
configurationConfigurationThe configuration.

See Also


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> sources, Configuration configuration, 
    TimeSpan timeout)
ParameterTypeDescription
deviceIDeviceThe device.
documentsIList`1The IList of documents to render.
configurationConfigurationThe configuration.
timeoutTimeSpanA TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 millisecond to wait indefinitely.

See Also