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

TOPIC:

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

  • ibrdis
  • ibrdis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 7 years 8 months ago #11006

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • 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 7 years 8 months ago #11007

  • ibrdis
  • ibrdis's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 7 years 8 months ago #11014

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • 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