0

i'm using

using (Graphics g = Graphics.FromImage(bmp))
            {
                //Set quality to High
                g.CompositingMode = CompositingMode.SourceCopy;
                g.CompositingQuality = CompositingQuality.HighQuality;
                g.SmoothingMode = SmoothingMode.HighQuality;
                g.InterpolationMode = InterpolationMode.HighQualityBicubic;
                g.TextRenderingHint = TextRenderingHint.AntiAliasGridFit;
                g.PixelOffsetMode = PixelOffsetMode.HighQuality;

                g.TextRenderingHint = TextRenderingHint.AntiAliasGridFit;
                
                panel1.DrawToBitmap(bmp, new System.Drawing.Rectangle(0, 0, 2480, 3508));

to draw the contents to an image, but the quality of the text is fairly poor.. is there a combination of settings which makes the quality similiar to printing a document from word or similiar programs?..

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by walid86
0

yeah, i set the resolution to 300 when i create the bitmap...

Bitmap bmp = new Bitmap(panel1.width, panel1.height);
bmp.SetResolution(300,300);
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.