Fill up annotations - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: Fill up annotations

Fill up annotations 2 years 5 months 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 5 months ago #11351

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 543
  • Karma: 21
  • Thank you received: 65
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 5 months ago #11360

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 543
  • Karma: 21
  • Thank you received: 65
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 5 months 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