Skip navigation
Currently Being Moderated

Add a text/sentence inside a PDF

Apr 16, 2012 12:20 PM

Tags: #file #pdf #a #text #add #code #to #sdk #c# #dynamically #inside

I need to take a big pdf document and goto certain pages and locations and add some comments there for the section number.

 

I tried to do this by first adding text boxes in those regions and then i dynamically opened it with my program and put the value in them.

 

However the issue is that each line added can only start from a new line.

 

But i want to add the text inside a paragraph or at the end or start, it should flow from middle of one line to the middle of another.

I dont want it looking different, inside a text box, but rather look normal like part of the text.

 

Please let me know how i can do this, i looked at the samples and examples but could not find an example to help add text inside a paragraph of a pdf.

 

thanks

 
Replies
  • Currently Being Moderated
    Apr 16, 2012 1:04 PM   in reply to jayshakir

    If you are doing this manually, you should post this to the Acrobat users area, since it's an application question.

     

    If this is a programming/development question, then we would need more info about the environment you are using…

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 16, 2012 11:39 PM   in reply to jayshakir

    PDF is not a format designed for editing content in the way that you wish.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 17, 2012 11:10 AM   in reply to jayshakir

    PDF is not designed to be used in this way.   You should modify original material (such as HTML, Word, etc.) and then convert to PDF.

     

    If you must do this type of thing, then put the ENTIRE PARAGRAPH in a form field and modify the field data.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 17, 2012 12:42 PM   in reply to jayshakir

    In a form text field you can use rich format.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 18, 2012 2:13 PM   in reply to jayshakir

    No, you can't use HTML tags.  You use the JavaScript APIs for creating rich text spans.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points