schmeet
Member
- Joined
- Jul 19, 2010
- Messages
- 8
- Programming Experience
- Beginner
Hi all,
I have an application which basically creates a image by colouring each pixel of a bitmap based on some criteria. I wanted to add some text to the bottom of it and I have the following code:
However, the text looks horrible, thick and blocky.
I've had a google but I cant find anything about this.
Thanks in advance for any suggestions,
Pete
I have an application which basically creates a image by colouring each pixel of a bitmap based on some criteria. I wanted to add some text to the bottom of it and I have the following code:
VB.NET:
Dim gr As Graphics = Graphics.FromImage(bm)
Dim font As New System.Drawing.Font("Arial", 12, FontStyle.Regular, GraphicsUnit.Pixel)
gr.DrawString(Meters & "m", font, Brushes.Black, Margin + Margin, Y1 - font.Height)
PictureBox1.Image = bm
However, the text looks horrible, thick and blocky.
I've had a google but I cant find anything about this.
Thanks in advance for any suggestions,
Pete