- Posts: 4
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Add text, Android
IP: 192.168.0.71
9 years 2 weeks ago #12321
by oscar
Add text, Android was created by oscar
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
IP: 192.168.0.71
9 years 1 week ago - 9 years 1 week ago #12326
by nermeen
Replied by nermeen on topic Add text, Android
It is not clear what you mean, but you can add text and place it where you want using PageContent.TextMove, PageContent.TextNextLine
for an example, check PDFTestAct.gen_form1
Code:
sform.TextBegin();
sform.TextSetFont(res_font, 20);
sform.TextMove(20, 50);
sform.DrawText("this is form1, parent of form1");
sform.TextEnd();
Last edit: 9 years 1 week ago by nermeen.
IP: 192.168.0.71
9 years 1 week ago #12332
by oscar
Replied by oscar on topic Add text, Android
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
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
IP: 192.168.0.71
9 years 1 week ago #12335
by nermeen
Replied by nermeen on topic Add text, Android
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)
Repositioned using Annotation.SetRect
Removed using Annotation.RemoveFromPage
For more details, you can check How to add an Edit Text annotation (Android)
IP: 192.168.0.71
9 years 1 week ago #12337
by oscar
Replied by oscar on topic Add text, Android
Hello how can I run the PDFReader activity , appears as deprecated
IP: 192.168.0.71
9 years 1 week ago #12339
by nermeen
Replied by nermeen on topic Add text, Android
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)
You need to run the RDPDFReader module (com.radaee.reader.PDFViewAct)
Time to create page: 0.519 seconds