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?..

use

bmp.SetResolution(300, 300)

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

Bitmap bmp = new Bitmap(panel1.width, panel1.height);
bmp.SetResolution(300,300);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.