Dim sf As new StringFormat sf.Alignment = StringAlignment.Center sf.LineAlignment = StringAlignment.Center
e.Graphics.DrawString(msg,fnt,br, new Rectangle(e.x, e.y, e.width, e.height), sf)