GraphRenderer gr = new GraphRenderer( g ); Bitmap image = new Bitmap( 1280, 1024 ); Graphics gf = Graphics.FromImage( image ); Graphics gfx = Graphics.FromImage( image ); gfx.SmoothingMode = SmoothingMode.AntiAlias; gf.SmoothingMode = SmoothingMode.AntiAlias; gr.Render( gfx, new Rectangle(0, 0, 1280, 1024) ); System.Drawing.Size size = gf.MeasureString( "Friends @ " + chan, new Font( "Tahoma", 14, FontStyle.Bold ) ).ToSize(); int px = ( 1280 / 2 ) - ( size.Width / 2 ); int py = 20; gf.DrawString( "Friends @ " + chan, new Font( "Tahoma", 14, FontStyle.Bold ), Brushes.Black, new PointF( px, py ) ); gf.Dispose(); gfx.Dispose(); try { image.Save( imagepath, ImageFormat.Png ); } catch { }