Looking for some sample code that will let me read in a DWF, get an entity and change the color base on its existing color.
I was able to use the Aggregate sample in the DWFToolkit and I was able to open and existing DWF iterate thru the sections then write the sections to a new DWF file. I was able to use the BStreamFileToolkit stream parser while reading and was able to extract the existing color. But I am unable to get each object and write it to the new DWF with a new color. Can anyone send me a sample on how to do this part.
I have attached the Aggregate.cpp which I am able to read the existing colors of objects and print them out.
Would appreciate a code snippet to change color of the entities before writing them out to the new file.
Thanks,
Ed