- Posts: 80
- 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 with Italic and underline
IP: 192.168.0.71
11 years 5 months ago #7467
by moontech
Add text with Italic and underline was created by moontech
Hello,
I want to add text annotation with bold,italic and underline.
How i can add text like this.
I want to add text annotation with bold,italic and underline.
How i can add text like this.
IP: 192.168.0.71
11 years 5 months ago #7478
by moontech
Replied by moontech on topic Add text with Italic and underline
can we have reply here.
IP: 192.168.0.156
11 years 5 months ago #7490
by Davide
Replied by Davide on topic Add text with Italic and underline
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.
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.
IP: 192.168.0.71
11 years 4 months ago #7556
by moontech
Replied by moontech on topic Add text with Italic and underline
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)
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)
IP: 192.168.0.71
11 years 4 months ago #7558
by radaee
Replied by radaee on topic Add text with Italic and underline
PDFTestAct shall has a little sample to add content to a page.
Time to create page: 0.478 seconds