how to use public Font(string, float, FontStyle, GraphicsUnit);
I try to use public Font(string, float, FontStyle, GraphicsUnit); to create a font, like
Font font = new Font( "Arial", 8, FontStyle.Regular, GraphicsUnit.Display);
I got a runtime error, it said the parameter is invalid. How should I use this constructor?
Also I use Graphics.DrawString(string, Font, Brush, float, float, StringFormat); to write a character. I found the output is a little bit thick, is any way to produce a fine character?
Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention. Check out this how-to article for more information.