private void button9_Click(object sender, System.EventArgs e) { // initialize C1.C1Pdf.C1PdfDocument pdf = new C1.C1Pdf.C1PdfDocument(); RectangleF rc = new RectangleF(0, 0, 200, 180); pdf.DrawEllipse(Pens.Gray, rc); pdf.DrawArc(new Pen(Color.Black, 4), rc, 0, 45); pdf.DrawArc(new Pen(Color.Red, 4), rc, 0, -45); string fileName = tempdir + "arc.pdf"; pdf.Save(fileName); System.Diagnostics.Process.Start(fileName); Bitmap bmp = new Bitmap(pictureBox2.Size.Width, pictureBox2.Size.Height); using (Graphics g = Graphics.FromImage(bmp)) { g.PageUnit = GraphicsUnit.Point; g.DrawEllipse(Pens.Gray, rc); g.DrawArc(new Pen(Color.Black, 4), rc, 0, 45); g.DrawArc(new Pen(Color.Red, 4), rc, 0, -45); } this.pictureBox2.Image = bmp; }