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

More
IP: 192.168.0.71 11 years 5 months ago #7467 by moontech
Hello,
I want to add text annotation with bold,italic and underline.
How i can add text like this.
More
IP: 192.168.0.71 11 years 5 months ago #7478 by moontech
can we have reply here.
More
IP: 192.168.0.156 11 years 5 months ago #7490 by Davide
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.

More
IP: 192.168.0.71 11 years 4 months ago #7556 by moontech
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)
More
IP: 192.168.0.71 11 years 4 months ago #7558 by radaee
PDFTestAct shall has a little sample to add content to a page.
Time to create page: 0.478 seconds
Powered by Kunena Forum