How i can change the note icon and line color - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: How i can change the note icon and line color

How i can change the note icon and line color 2 years 2 months ago #11004

  • ibrdis
  • ibrdis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
How i can change the note icon, circle view, rectangle view and line color ?

Please Log in or Create an account to join the conversation.

How i can change the note icon and line color 2 years 2 months ago #11006

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
you will find the resources in the ViewLib module..
PDFSample\ViewLib\src\main\res\drawable

Please Log in or Create an account to join the conversation.

How i can change the note icon and line color 2 years 2 months ago #11007

  • ibrdis
  • ibrdis's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
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 ?

Please Log in or Create an account to join the conversation.

Last edit: by ibrdis. Reason: Adding the img

How i can change the note icon and line color 2 years 2 months ago #11014

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
you can edit the note icon using one of the following methods :
annot.SetIcon(String name, PageContent content)
For more info : www.radaeepdf.com/documentation/javadocs...aee.pdf.PageContent-

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

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

annot.SetStrokeColor(int color)
For more info : www.radaeepdf.com/documentation/javadocs...#SetStrokeColor-int-
The following user(s) said Thank You: ibrdis

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum