FPDFAnnot_GetColor Is Not Returning RGBA Values For Highlight Annotations
53 views
Skip to first unread message
Madushan Amarasinghe
unread,
Jun 23, 2021, 1:35:42 AM6/23/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pdfium
Hi,
I'm trying to get the color values of highlight annotations using FPDFAnnot_GetColor method, but it gives only 0 for RGBA values. I tried with both the color type FPDFANNOT_COLORTYPE_Color, FPDFANNOT_COLORTYPE_InteriorColor but result is the same.
Could anyone please help me on this? Any help is much appreciated.
Lei Zhang
unread,
Jun 23, 2021, 12:11:07 PM6/23/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Madushan Amarasinghe, pdfium
Is this broken for all highlight annotations you have tried, or only
some particular ones? Is there a sample PDF that you can share to help
demonstrate the problem?