0

我在打印文档中垂直打印一个字符串...字符串打印正确..但它在内部打印..我想显示字符串外部...谁能帮助我如何垂直打印字符串以及在外部位置..这是我的示例代码

Dim xFormatNew As New StringFormat()

xFormatNew.FormatFlags = StringFormatFlags.DirectionVertical

drawRect = New RectangleF(50, 30, 20, 100)

xFormatNew.Alignment = StringAlignment.Near

e.Graphics.DrawString("Good Day", New Font("Arial",10,FontStyle.Bold), Brushes.Black, drawRect, xFormatNew)
4

0 回答 0