PGetColorNames

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++;
}


See also

The PGetColor, PGetColorInfo, PGetColorPalette, and PGetTint queries


Comments or suggestions? Contact Adobe Developer Support
Copyright © 1997 - 2001 Adobe Systems Incorporated. All rights reserved.
Legal notices and trademark attributions