Hello,
I want to change the dynamic font size, but just change the height and should be fixed width of the text.
Font font3 = new Font("Times New Roman", (int)(15), FontStyle.Bold, GraphicsUnit.Pixel);
graphics.DrawString("A", font2, new SolidBrush(Color.FromArgb(0, 0, 0)), 60, 240, sf);
I can't separate control (just height) on the text.
What I have tried:
Font font3 = new Font("Times New Roman", (int)(15), FontStyle.Bold, GraphicsUnit.Pixel);
graphics.DrawString("A", font3, new SolidBrush(Color.FromArgb(0, 0, 0)), 60, 240, sf);