Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.

Aspose.SVG for .NET 是用于在 .NET 应用程序中创建、编辑、检查、转换、渲染、优化和矢量化 SVG 文档的 C# API。当应用程序需要以编程方式控制 SVG DOM 节点、属性、样式、滤镜、变换、绘图或 PDF、XPS、PNG、JPG、TIFF、BMP、GIF、WebP 等输出格式时,可以使用它。
下面的示例展示了常见的 Aspose.SVG for .NET 工作流:加载 SVG 文档、创建 PDF 保存选项并写入 PDF 文件。
1using Aspose.Svg;
2using Aspose.Svg.Converters;
3using Aspose.Svg.Saving;
4
5using var document = new SVGDocument("document.svg");
6var options = new PdfSaveOptions();
7
8Converter.ConvertSVG(document, options, "document.pdf");更多输出格式和保存选项,请打开上面链接的 SVG 转换指南。
Aspose.SVG 还提供 免费的 SVG 在线应用,用于转换、合并、矢量化、创建 sprite、Base64 编码和 SVG 文本矢量化。Web 应用适合快速手动任务;当您需要在 C# 应用程序中自动化相同的 SVG 流程时,请使用 Aspose.SVG for .NET。
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.