Create Multiple Pages in ABCpdf in .net


Note -If you are new in AbcPdf Click here for More Detail


Doc.aspx 

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>    
     <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Create Pdf" />    
    </div>
    </form>
</body>
</html>


Doc.aspx.cs 

Add namespace
using WebSupergoo.ABCpdf10;


Doc.aspx.cs

protected void Button1_Click(object sender, EventArgs e)
 {
   Doc theDoc = new Doc();
   theDoc.Rect.Inset(72, 80);
   int theID;
          
   theID = theDoc.AddImageUrl("http://www.websupergoo.com/abcpdf-download.htm");
   while (true)
   {
    theDoc.FrameRect();
    if (!theDoc.Chainable(theID))
    break;
    theDoc.Page = theDoc.AddPage();
    theID = theDoc.AddImageToChain(theID);
    }
    for (int i = 1; i <= theDoc.PageCount; i++)
    {
    theDoc.PageNumber = i;
    theDoc.Flatten();
    }             
    theDoc.Save(@"D:pdf\pdfnew.pdf");
    theDoc.Clear();
  }


Share this

Previous
Next Post »

5 comments

comments
Anonymous
March 27, 2022 at 1:40 AM delete

Create Multiple Pages In Abcpdf In .Net - Complete .Net Tutorial >>>>> Download Now

>>>>> Download Full

Create Multiple Pages In Abcpdf In .Net - Complete .Net Tutorial >>>>> Download LINK

>>>>> Download Now

Create Multiple Pages In Abcpdf In .Net - Complete .Net Tutorial >>>>> Download Full

>>>>> Download LINK

Reply
avatar
June 3, 2026 at 11:50 PM delete

I found this post very helpful and engaging. The explanations are clear and detailed without being overwhelming. Thanks for creating such useful content.workday hcm training

Reply
avatar
vr
June 5, 2026 at 9:00 AM delete

Great post! A MongoDB online course is an excellent way to learn NoSQL database fundamentals, data modeling, queries, indexing, and aggregation at your own pace. Practical projects and hands-on exercises help learners build real-world database skills and career readiness.mongodb online course

Reply
avatar
vr
June 5, 2026 at 9:49 AM delete

Great post! MuleSoft API training provides hands-on learning in API design, development, management, and integration using Anypoint Platform. With practical labs and real-world projects, learners can build strong API skills and advance their careers in enterprise integration and cloud connectivity solutions.mulesoft api training

Reply
avatar
June 13, 2026 at 8:35 AM delete

Boomi training provides comprehensive knowledge of cloud-based integration and workflow automation. This boomi training covers process creation, data transformation, API integration, and application connectivity. Learners gain hands-on experience through practical assignments and projects. The training prepares students for careers in cloud integration technologies.

Reply
avatar