Copy link to clipboard
Copied
Hi,
I'm Using PDColorvalue object, I'm able to do Three colors(RGB) to set for bookmarks.
PDColorValueRec red, blue, green;
//Define red
red.space = PDDeviceRGB;
red.value[0] = ASInt32ToFixed(1);
red.value[1] = 0;
red.value[2] = 0;
PDBookmarkSetcolor(aBookmark,&red).
How to set Remaining colors like CMYK(cyan,yellow,magento,black)same way? please suggest.
What should parameters will use?
[Question moved to the Acrobat SDK forum]
Copy link to clipboard
Copied
The PDF specification allows only DeviceRGB colours for bookmarks. It is impossible to specify any other colour (since it only takes the three color values, not the colour space).
Copy link to clipboard
Copied
Thank your kind information. Can i use color picker? After pick color and how to apply for bookmarks.
Please help on this.
Copy link to clipboard
Copied
Convert the CMYK to RGB. It's a simple calculation.
Copy link to clipboard
Copied
Already I tried that values and assigned no use.
Copy link to clipboard
Copied
What code are you using?