I'm drawing text on a System.Drawing.Graphics
object. I'm using the DrawString
method, with the text string, a Font
, a Brush
, a bounding RectangleF
, and a StringFormat
as arguments.
Looking into StringFormat
, I've found that I can set it's Alignment
property to Near
, Center
or Far
. However I haven't found a way to set it to Justified. How can I achieve this?
Thank you for your help!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…