drawing on bitmap question

  • Thread starter Thread starter Abubakar
  • Start date Start date
A

Abubakar

Hi,
i'm programmatically writing some text on the picture box. Every thing goes
fine. Now for some reason I want to first write that text onto a bitmap and
the set it as a source (picture property) of the picturebox. As soon as I
use this bitmap approach the text quality is badly effected, specially the
smaller text, big font are a little bit ok. What can be the reason?

Thanks,
Abubakar.
 
Abubakar,

When you are creating the bitmap, you might want to make sure that the
PixelFormat passed into the constructor is Format32bppArgb or
Format32bppRgb. It might be that the pixel format is not that large by
default, and you need to set it to something higher that looks better.

Hope this helps.
 
Back
Top