Class EpubRenderer
名称: Aspose.Html.Rendering 编辑: Aspose.HTML.dll (25.4.0)
代表 EPub 文档播放器。
[ComVisible(true)]
public class EpubRenderer : Renderer<stream>, IDisposable
Inheritance
object
←
Renderer
←
Renderer
Implements
继承人
Renderer
Constructors
EpubRenderer()
public EpubRenderer()
Methods
Render(IDevice, TimeSpan, Params 流[])
定义多种 EPub System.IO.Streams 转换到特定 Aspose.Html.Rendering.IDevice 的方法。
public override void Render(IDevice device, TimeSpan timeout, params Stream[] sources)
Parameters
device
IDevice
输出设备。
timeout
TimeSpan
一个 System.TimeSpan 代表等待数毫秒,或一个 System.TimeSpan 代表 -1 毫秒等待无限。
sources
Stream
( )
EPub 文件提交。
Render(IDevice, CancellationToken, Params 流[])
定义一个方法将多个 EPub 文档转换为一个特定的 Aspose.Html.Rendering.IDevice,使用取消标志要求取消操作。
public override void Render(IDevice device, CancellationToken cancellationToken, params Stream[] sources)
Parameters
device
IDevice
输出设备。
cancellationToken
CancellationToken
A System.Threading.Cancellation在等待任务完成时可以观察。
sources
Stream
( )
EPub 文件提交。
Render(IDevice、Stream、配置)
将 EPub 文档转换为指定的 Aspose.Html.Rendering.IDevice。
public void Render(IDevice device, Stream source, Configuration configuration)
Parameters
device
IDevice
该设备。
source
Stream
EPUB文件。
configuration
Configuration
是配置。
Render(IDevice, 流量, 配置, TimeSpan)
将 EPub 文档转换为指定的 Aspose.Html.Rendering.IDevice。播放将进行,一旦没有充电资源、活跃时间表、动画任务或指定时间的网络操作完成。
public void Render(IDevice device, Stream source, Configuration configuration, TimeSpan timeout)
Parameters
device
IDevice
该设备。
source
Stream
EPUB文件。
configuration
Configuration
是配置。
timeout
TimeSpan
一个 System.TimeSpan 代表等待数毫秒,或一个 System.TimeSpan 代表 -1 毫秒等待无限。
Render(IDEVICE, IList<流>, 配置)
将多个 EPub 文件转换为指定的 Aspose.Html.Rendering.IDevice。
public void Render(IDevice device, IList<stream> sources, Configuration configuration)
Parameters
device
IDevice
该设备。
The System.Collections.Generic.IList`1 of EPub 文件提交。
configuration
Configuration
是配置。
Render(IDEVICE, IList<流>, 配置, TimeSpan)
将多个 EPub 文件转换为指定的 Aspose.Html.Rendering.IDevice。播放将进行,一旦没有充电资源、活跃时间表、动画任务或指定时间的网络操作完成。
public void Render(IDevice device, IList<stream> sources, Configuration configuration, TimeSpan timeout)
Parameters
device
IDevice
该设备。
The System.Collections.Generic.IList`1 of EPub 文件提交。
configuration
Configuration
是配置。
timeout
TimeSpan
一个 System.TimeSpan 代表等待数毫秒,或一个 System.TimeSpan 代表 -1 毫秒等待无限。