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

How i can change the note icon and line color

More
9 years 7 months ago #11004 by ibrdis
How i can change the note icon, circle view, rectangle view and line color ?
More
9 years 7 months ago #11006 by Davide
Hi,
you will find the resources in the ViewLib module..
PDFSample\ViewLib\src\main\res\drawable
More
9 years 7 months ago - 9 years 7 months ago #11007 by ibrdis
Hi,
No i mean the note(the yellow icon), rectangle(blue rectangle with red border) and oval(the blue circle with red border) itself that we draw on the PDF view.
How i can change those ?
Last edit: 9 years 7 months ago by ibrdis. Reason: Adding the img
More
9 years 7 months ago #11014 by Davide
Hi,
you can edit the note icon using one of the following methods :
Code:
annot.SetIcon(String name, PageContent content)
For more info : www.radaeepdf.com/documentation/javadocs...aee.pdf.PageContent-

Code:
annot.SetIcon(int icon)
For more info : www.radaeepdf.com/documentation/javadocs...on.html#SetIcon-int-

You can edit oval and rect using :
Code:
annot.SetFillColor(int color)
For more info : www.radaeepdf.com/documentation/javadocs...ml#SetFillColor-int-

Code:
annot.SetStrokeColor(int color)
For more info : www.radaeepdf.com/documentation/javadocs...#SetStrokeColor-int-
Time to create page: 0.399 seconds
Powered by Kunena Forum