浏览我们的产品

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.

 

Aspose.Drawing for .NET 22.3

下载  支持论坛 

文件详情

  • 下载:
  • 4
  • 文件大小:
  • 7.1 MB
  • Posted By:
  • 谢尔盖·弗拉索夫
  • 浏览量:
  • 6
  • 添加日期:
  • : 3 weeks ago [3/24/2022]

文件详情

设置负笔宽度

有时,对于某些激光打印机来说,即使是 1 的笔宽也太宽了。这种情况的快速解决方法是将笔宽设置为负值。从这个版本开始,允许将 Pen.Width 的值设置为负值。以下 C# 代码示例演示了如何使用 API 为 Pen 设置各种宽度:

// 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);

for (int i = 1; i < 8; ++i)
{
    Pen pen = new Pen(Color.Blue, i);
    graphics.DrawLine(pen, 100, i * 100, 900, i * 100);
}

bitmap.Save("Width.png");

IsGenericTypographic StringFormat 属性

添加了可复制的 IsGenericTypographic StringFormat 属性,以更好地通过 API 处理排版。

旋转和翻转 24 位位图 (BMP)

添加了旋转和翻转 24 位位图 BMP 图形的功能。

有关此版本中的功能、增强功能和错误修复的完整列表,请访问 Aspose.Drawing for .NET 22.3 Release Notes

 简体中文