I draw text on an object System.Drawing.Graphics. I use the DrawStringtext string method ,, Fonta Brush, bounding RectangleFand a StringFormatas arguments.
Looking at StringFormat, I found that I can set the property Alignmentto Near, Centeror Far. However, I did not find a way to install it in Reasonable. How can i achieve this?
Thank you for your help!
source
share