Parent-Child relationship


Is there a method for extracting parent-child relationship info from diagram, using Aspose library.
For example if I have Swimlane and I drag Rectangle into Swimlane shape, is there a way to extract that info(that Rectangle shape is now ‘child’ of Swimlane shape)?
Example 2: Insert container into diagram, add two random shapes to Container, is there a way to find out that container contains shape1 and shape2)?

Thank you

Hi Makro,

Shapes property exposed by Shape class can be used to get all the children of container shape e.g.

foreach (Shape shape in containerShape.Shapes)


A new issue to extract all the children shapes from a swimlane has been logged into our issue tracking system as DIAGRAM-33218. We will keep you updated on this issue in this thread.

Please feel free to contact us in case you have further comments or questions.

Best Regards,

Ok thanks…

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.