摘要: 有时候在应用程序C# GDI+绘图中需要使用到垂直文字,在网上搜索一下。有两种方法:1.使用坐标轴旋转实现。 2.使用StringFormat实现。1.使用坐标轴旋转实现。这种方法比较常见,也是比较实用的方法。但对于我个人来说,使用这种方法有一定的不便。首先这种方法使用时需要注意坐标,因为坐标轴旋转,坐标也需要旋转,这需要计算。 protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { float vlblControlWidt... 阅读全文
posted @ 2013-05-14 08:51 Finlay Liu 阅读(1915) 评论(0) 推荐(0)