$ 0 0 Use System.Drawing.Graphics.MeasureString instead of System.Windows.Forms.TextRenderer for AdjustToContents.