igkins
12/5/2004 8:19:00 PM
Hello,
I have the following code:
image = createImage(sType)
image.SetResolution(300, 300)
g = Graphics.FromImage(image)
textFont = New Font(fontFace, 8.0F, FontStyle.Bold)
g.DrawString(sText, textFont, New SolidBrush(fontColor), _
New RectangleF(outRect.X, outRect.Y,
outRect.Width, _
(inRect.Y - outRect.Y)), format)
Before, I wasn't setting the resolution and the image came out crappy.
After I added the code to SetResolution a little higher, the text looks a lot
better, but its a lot larger is well? Why is that?