Canvas DrawString Text Position (Justification)

I posted code that I use for vertically and horizontally centering text a couple of years ago. Should be trivial to modify it to suit your needs. Be sure to read all the way down for an improved Y positioning calculation.

1 Like