Add text, Android - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Add text, Android

Add text, Android 1 year 6 months ago #12321

  • oscar
  • oscar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Good afternoon I have a question, is possible to add text on the pdf in the same way as an image or a line, I would like to leave blanks to be filled with text

Please Log in or Create an account to join the conversation.

Add text, Android 1 year 6 months ago #12326

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
It is not clear what you mean, but you can add text and place it where you want using PageContent.TextMove, PageContent.TextNextLine
sform.TextBegin();
sform.TextSetFont(res_font, 20);
sform.TextMove(20, 50);
sform.DrawText("this is form1, parent of form1");
sform.TextEnd();
for an example, check PDFTestAct.gen_form1

Please Log in or Create an account to join the conversation.

Last edit: by nermeen.

Add text, Android 1 year 6 months ago #12332

  • oscar
  • oscar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hello I mean the following:

I would like to add text over a pdf, I have a book in pdf which contains some questions that I want to answer through the application

Step 1: select the writing tool
Step 2: write the answer
Step 3: move it text if necessary, rearrange or remove it

Is it possible to do this?
I do not find something similar in demos
Attachments:

Please Log in or Create an account to join the conversation.

Add text, Android 1 year 6 months ago #12335

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
This can be achieved using Editbox annotation, that can be added using Page.AddAnnotEditbox
Repositioned using Annotation.SetRect
Removed using Annotation.RemoveFromPage
For more details, you can check How to add an Edit Text annotation (Android)

Please Log in or Create an account to join the conversation.

Add text, Android 1 year 6 months ago #12337

  • oscar
  • oscar's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hello how can I run the PDFReader activity , appears as deprecated
Attachments:

Please Log in or Create an account to join the conversation.

Add text, Android 1 year 6 months ago #12339

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
Yes, PDFReader is deprecated. We recommend to use RDPDFReader instead (PDFLayout instead of PDFReader) as it's better performance wise.
You need to run the RDPDFReader module (com.radaee.reader.PDFViewAct)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum