Class SvgRenderer
Tên không gian: Aspose.Html.Rendering Tổng hợp: Aspose.HTML.dll (25.4.0)
Giới thiệu SVG Document Renderer.
[ComVisible(true)]
public class SvgRenderer : Renderer<svgdocument>, IDisposable
Inheritance
object
←
Renderer
←
Renderer
Implements
Thành viên thừa kế
Renderer
Constructors
SvgRenderer()
public SvgRenderer()
Methods
Render(IDevice, TimeSpan, params SVGDocument[])
Định nghĩa phương pháp để render nhiều Aspose.Html.Dom.Svg.SVGDocuments vào cụ thể Aspose.Html.Rendering.IDevice.
public override void Render(IDevice device, TimeSpan timeout, params SVGDocument[] 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
SVGDocument
[ ]
Các tài liệu SVG để cung cấp.
Render(IDevice, CancellationToken, params SVGDocument[])
Định nghĩa một phương pháp để render nhiều Aspose.Html.Dom.Svg.SVGDocuments 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 SVGDocument[] sources)
Parameters
device
IDevice
Thiết bị xuất khẩu.
cancellationToken
CancellationToken
Một token hủy để theo dõi trong khi chờ nhiệm vụ để hoàn thành.
sources
SVGDocument
[ ]
Các tài liệu SVG để cung cấp.