Gets the names of all the colors defined in the publication.
Query results
PGetColorNames is a subclass of PListQuery. This query returns a list of color names. Make sure that PListQuery::Count() > 0
before referencing a color name.
Example.
PGetColorNames names;
for (short i = names.Count(); i > 0; --i)
{
if (strcmp("Red", names)==0) ...
names++;
}