Hi everybody,
I am trying to get control over the objects of a DWF file using C# and, to be more precise, I'd like to hide/show them at runtime.
Giving you a quick code snippet, I do
[...]
ECompositeViewer.IAdSection sec = (ECompositeViewer.IAdSection)CompositeViewer.Section;
ECompositeViewer.IAdContent con = (ECompositeViewer.IAdContent)sec.Content;
AdCommon.IAdCollection adobj = (AdCommon.IAdCollection)con.get_Objects(0); //all objects ???
[...loop over adobj...]
Now, the problem is that get_Objects(0) gives me only, let me say, first level objects, non all those nested into. For further clarification I attach this image:
When I loop for object I can see only Arbor_Press, the whole assembly. How can I get into it to handle Arbor_Frame, Face Plate, ecc.? It looks trivial to me but I can't get rid of it!!!
Thank you in advance.
Michele.
PS Please redirect me anywhere if the topics has already been discussed. I've searched for it without success.