浏览我们的产品 Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
Image.Tag
添加了提供有关图像的附加数据的 Image.Tag 属性。
性能已针对 PNG 渲染和保存进行了优化。以下 C# 代码使用 API 呈现 PNG:
// Example to create a new drawing in C# .NET and render as a PNG. // See https://github.com/aspose-drawing/Aspose.Drawing-for-.NET and https://docs.aspose.com/drawing/net/ for more examples. // Create a new drawing Bitmap bitmap = new Bitmap(1000, 800, System.Drawing.Imaging.PixelFormat.Format32bppPArgb); Graphics graphics = Graphics.FromImage(bitmap); // Save drawing bitmap.Save(RunExamples.GetDataDir() + @"drawing.png");
对 Arc 绘图进行了改进,以获得更准确的结果。以下 C# 代码演示了如何使用 API 绘制 Arc 并保存为 PNG:
// For complete examples and data files, please go to https://github.com/aspose-drawing/Aspose.Drawing-for-.NET using System.Drawing; Bitmap bitmap = new Bitmap(1000, 800, System.Drawing.Imaging.PixelFormat.Format32bppPArgb); Graphics graphics = Graphics.FromImage(bitmap); Pen pen = new Pen(Color.Blue, 2); graphics.DrawArc(pen, 0, 0, 700, 700, 0, 180); bitmap.Save("DrawArc.png");
有关此版本中的功能、增强功能和错误修复的完整列表,请访问 Aspose.Drawing for .NET 22.1 Release Notes。