Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Add text with Italic and underline 9 years 6 months ago #7467

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
Hello,
I want to add text annotation with bold,italic and underline.
How i can add text like this.
The topic has been locked.

Add text with Italic and underline 9 years 6 months ago #7478

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
can we have reply here.
The topic has been locked.

Add text with Italic and underline 9 years 6 months ago #7490

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
if you want to add an annot with Italic and underline, the library doesn't support that.
If you want to first add the text to the pdf (using the premium license features) you can use NewFontCID(java.lang.String font_name, int style) that creates a font object, used to write texts.
Then add the annotation to that text.

The topic has been locked.

Add text with Italic and underline 9 years 5 months ago #7556

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 80
  • Thank you received: 0
Ok,
Can we have any sample regarding to "NewFontCID(java.lang.String, int)" ?

How to use ?
public Document.DocFont NewFontCID(java.lang.String font_name,int style)
The topic has been locked.

Add text with Italic and underline 9 years 5 months ago #7558

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
PDFTestAct shall has a little sample to add content to a page.
The topic has been locked.
  • Page:
  • 1
Powered by Kunena Forum