Fill up annotations - 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 iOS development and PDF
  • Page:
  • 1

TOPIC: Fill up annotations

Fill up annotations 2 years 3 weeks ago #11348

  • Shades
  • Shades's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 37
  • Thank you received: 0
Hi,

Is there a way to fill up rect and ellipse annotation ?

Thank you

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

Fill up annotations 2 years 3 weeks ago #11351

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,

the last parameter of addAnnotEllipse and addAnnotRect is the fill color.
In demo project is set to 0, but you can change the value and set your custom fill color.

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

Fill up annotations 2 years 3 weeks ago #11360

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
here is an example from the demo project:
[page addAnnotEllipse:&rect:g_rect_Width * m_scale / [vpage GetScale]:g_oval_color:0xFFFF8800];
where 0xFFFF8800 is the custom fill color

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

Fill up annotations 2 years 2 weeks ago #11383

  • Shades
  • Shades's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 37
  • Thank you received: 0
Thanks a lot for your example :)

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

  • Page:
  • 1
Powered by Kunena Forum