Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8792591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:00:00+00:00 2026-06-13T23:00:00+00:00

I am using ASP.NET and C#.Then I am using iTextSharp for creating pdf on

  • 0

I am using ASP.NET and C#.Then I am using iTextSharp for creating pdf on the fly.Can someone tell me how to create the textbox,label.Is it Possible? Because What ever i searched they are using PdfpTable and PdfpCell..

Give me some example..

EDIT:
I need to create a pdf that should look exacly like my .aspx page.I am creating on button click.If i add textfield that is in edit mode i dont want that.So i need to create the entire page as readonly in pdf?

Provide me any materials/articles/ebooks..

Thanks..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:00:01+00:00Added an answer on June 13, 2026 at 11:00 pm

    Try using this piece of code snippet:

    using (PdfStamper stamper = new PdfStamper(new PdfReader(inputFile), File.Create(outputFile)))
    {
        TextField tf = new TextField(stamper.Writer, new iTextSharp.text.Rectangle(0, 0, 100, 300), "Vertical");
        stamper.AddAnnotation(tf.GetTextField(), 1);
        stamper.Close();
    }
    

    Reference: iTextSharp – Adding a vertical textbox

    You should also take a look at iText in Action. Chapter 8 has some examples that might be useful for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a PDF file on the fly using ITextSharp and ASP.NET 1.1. My
Using ASP.NET 3.5, you can create a LinkButton then define content inside of it.
If I am using asp.net's built-in membership provider, then how can I store arbitrary
I am using ASP.NET, C# and iTextSharp 5.3.0 for creating and digitally signing a
Using ASP.NET MVC when I create my model, then a controller based on the
I'm using ASP.NET web forms in Visual Studio 2010. How can I create UI
I'm using asp.net Membership, I develop an admin page who can regenerate a temp
I am using asp.net datepicker. Then executing a static event when a user clicks
Using ASP.NET under .NET 2.0, is it possible to get/set AppSettings in a web.config
Using ASP.Net MVC, I'm posting off to an action (where I'm then adding an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.