I have a document with lot of different shapes and I want to group all of them with same FillColor.
I'm having troubles getting the list (palette) of colors are being used in ActiveDocument.
In CD 20020 exists the method ShapeRange.GetColors but unfortunately I'm working on X8.
Important: Amount of shapes is amazing (Autocad exported pdf) so looping them is almost unuseful.
Thanks in advence,
find a copy of the Select Same macro that will work with your version of CorelDRAW. That's what it does.
Hi Roy, thanks for your time.SelectSame doesn't do the same because there is an input color (color of initially selected shape).In my case, I have lot shapes of unknown colors, from which I want to get a "list" (array or similar). Then I will try to use each entry in that list to locate all the matches using the FindShapes method.That is my plan, but I cannot determine what colors are initially in the document, and that is what I need your help for.