- Posts: 37
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
Fill up annotations
9 years 10 months ago #11348
by Shades
Fill up annotations was created by Shades
Hi,
Is there a way to fill up rect and ellipse annotation ?
Thank you
Is there a way to fill up rect and ellipse annotation ?
Thank you
9 years 10 months ago #11351
by emanuele
Replied by emanuele on topic Fill up annotations
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.
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.
9 years 10 months ago #11360
by emanuele
Replied by emanuele on topic Fill up annotations
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
[page addAnnotEllipse:&rect:g_rect_Width * m_scale / [vpage GetScale]:g_oval_color:0xFFFF8800];
where 0xFFFF8800 is the custom fill color
Time to create page: 0.447 seconds