Class EpubRenderer
Tên không gian: Aspose.Html.Rendering Tổng hợp: Aspose.HTML.dll (25.4.0)
Nó đại diện cho một EPub tài liệu renderer.
[ComVisible(true)]
public class EpubRenderer : Renderer<stream>, IDisposable
Inheritance
object
←
Renderer
←
Renderer
Implements
Thành viên thừa kế
Renderer
Constructors
EpubRenderer()
public EpubRenderer()
Methods
Render(IDevice, TimeSpan, Params Stream[])
Định nghĩa phương pháp để render nhiều EPub System.IO.Streams vào cụ thể Aspose.Html.Rendering.IDevice.
public override void Render(IDevice device, TimeSpan timeout, params Stream[] sources)
Parameters
device
IDevice
Thiết bị xuất khẩu.
timeout
TimeSpan
Một System.TimeSpan đại diện cho số lượng milliseconds để chờ đợi, hoặc một System.TimeSpan đại diện cho -1 milliseconds để chờ đợi vô hạn.
sources
Stream
[ ]
Các tài liệu EPub để cung cấp.
Render(IDevice, CancellationToken, Params Stream[])
Định nghĩa một phương pháp để render nhiều tài liệu EPub vào một Aspose.Html.Rendering.IDevice cụ thể, sử dụng một token hủy để yêu cầu hủy hoạt động.
public override void Render(IDevice device, CancellationToken cancellationToken, params Stream[] sources)
Parameters
device
IDevice
Thiết bị xuất khẩu.
cancellationToken
CancellationToken
A System.Threading.CancellationToken để quan sát trong khi chờ nhiệm vụ để hoàn thành.
sources
Stream
[ ]
Các tài liệu EPub để cung cấp.
Render(IDevice, Stream, cấu hình)
Đặt tài liệu EPub vào Aspose.Html.Rendering.IDevice cụ thể.
public void Render(IDevice device, Stream source, Configuration configuration)
Parameters
device
IDevice
thiết bị .
source
Stream
Tài liệu EPUB
configuration
Configuration
cấu hình .
Render(IDevice, Stream, Cài đặt, TimeSpan)
Đặt tài liệu EPub vào Aspose.Html.Rendering.IDevice cụ thể.Việc trình bày sẽ được thực hiện một khi không có bất kỳ hoạt động mạng nào cho tài nguyên tải, thời gian hoạt động, nhiệm vụ hoạt hình hoặc thời gian cụ thể được thực hiện.
public void Render(IDevice device, Stream source, Configuration configuration, TimeSpan timeout)
Parameters
device
IDevice
thiết bị .
source
Stream
Tài liệu EPUB
configuration
Configuration
cấu hình .
timeout
TimeSpan
Một System.TimeSpan đại diện cho số lượng milliseconds để chờ đợi, hoặc một System.TimeSpan đại diện cho -1 milliseconds để chờ đợi vô hạn.
Render(Lời bài hát: Ilist, cấu hình)
Render nhiều tài liệu EPub vào cụ thể Aspose.Html.Rendering.IDevice.
public void Render(IDevice device, IList<stream> sources, Configuration configuration)
Parameters
device
IDevice
thiết bị .
Các System.Collections.Generic.IList`1 của EPub tài liệu để trình bày.
configuration
Configuration
cấu hình .
Render(Lời bài hát: Ilist, Thiết lập, TimeSpan)
Render nhiều tài liệu EPub vào cụ thể Aspose.Html.Rendering.IDevice.Việc trình bày sẽ được thực hiện một khi không có bất kỳ hoạt động mạng nào cho tài nguyên tải, thời gian hoạt động, nhiệm vụ hoạt hình hoặc thời gian cụ thể được thực hiện.
public void Render(IDevice device, IList<stream> sources, Configuration configuration, TimeSpan timeout)
Parameters
device
IDevice
thiết bị .
Các System.Collections.Generic.IList`1 của EPub tài liệu để trình bày.
configuration
Configuration
cấu hình .
timeout
TimeSpan
Một System.TimeSpan đại diện cho số lượng milliseconds để chờ đợi, hoặc một System.TimeSpan đại diện cho -1 milliseconds để chờ đợi vô hạn.