Sto disegnando del testo su un oggetto System.Drawing.Graphics
. Sto usando il metodo DrawString
, con la stringa di testo, un Font
, uno Brush
, un limite RectangleF
e uno StringFormat
come argomenti.Giustifica il testo usando DrawString in C#
Guardando in StringFormat
, ho trovato che posso impostare è Alignment
proprietà Near
, Center
o Far
. Tuttavia non ho trovato un modo per impostarlo su Justified. Come posso raggiungere questo obiettivo?
Grazie per il vostro aiuto!