DrawString and Font
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I am working with an image similar to a watermark. This is what I am doing Bitmap bmp = new Bitmap(Server.MapPath("Images\\image.jpg")); bmp.SetResolution(120, 30); Graphics g = Graphics.FromImage(bmp); Color customBlue= Color.FromArgb(18, 82, 125); //Create Font Font fn= new Font("Tahoma", 7); //Write g.DrawString("Phone :" + this.txtPhone.Text, fn, SystemBrushes.WindowText, 340, 15); my questions are How do I write the font in my customBlue color? and When i use the font in a smal size th font gets distorted? any insight? thanks