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
Copyright © 1996, Adobe Systems Incorporated. All rights reserved.
Comments or suggestions? Contact Adobe
Developer Support