Copy link to clipboard
Copied
Hi all,
How to retrieve list of all colours in the document using illustrator sdk 2023 using c++ with sample example.
Copy link to clipboard
Copied
AIColor. has colour iterating functions, that might be a way to get a list of what's actually in use in the document.
Copy link to clipboard
Copied
Hi A.Patterson,
Thanks for the help!!!
Can you please provide example code of retrieving all colours which are used in the document in illustrator sdk 2023 using c++
Copy link to clipboard
Copied
Perhaps your need is unique, and so you will not find a sample someone has already written. Have you examined the AIColor iterating functions?
Copy link to clipboard
Copied
Hi Test Screen Name,
In Illustrator sdk 2023, there is no member function available in AIColor suite to iterate the function to get a list of colours.
Copy link to clipboard
Copied
Maybe you can work from the swatch list ...