Class SvgRenderer
Tên không gian: Aspose.Svg.Rendering Tổng hợp: Aspose.SVG.dll (25.5.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 để xếp hàng nhiều Aspose.Svg.VVGDocuments vào cụ thể Aspos.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 để trình bày nhiều Aspose.Svg.Rendering.IDevice vào một đặc điểm cụ thể, bằng cách sử dụng token hủy để yêu cầu hối hận 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.