Code publicvoid init_Data() { pdfDocument myDoc =new pdfDocument("Test", "JinWeiDa"); /*Creation of the first page*/ pdfPage myFirstPage = myDoc.addPage(); /*Draw the line on the first page*/ myFirstPage.drawLine(100, 100, 200, 100, sharpPDF.Enumerators.predefinedLineStyle.csOutlined, new pdfColor(252,23,45), 10); /*Creation of the second page*/ pdfPage mySecondPage = myDoc.addPage(); /*Draw the rectangle on the second page*/ mySecondPage.drawRectangle(100, 100, 300, 200, new pdfColor(3,2,1), new pdfColor(2,3,4), 1, sharpPDF.Enumerators.predefinedLineStyle.csNormal); /*Creation of the third page*/ pdfPage myThirdPage = myDoc.addPage(); /*Draw the circle on the third page-*/ myThirdPage.drawCircle(200, 200, 50, new pdfColor(4,2,1), new pdfColor(5,4,3), sharpPDF.Enumerators.predefinedLineStyle.csNormal, 1); myDoc.createPDF(Server.MapPath("b.pdf")); myFirstPage =null; mySecondPage =null; myThirdPage =null; myDoc =null; }