Working with container

Hello
I’m pretty new to Visio and Aspose.Diagram, and I need help because I stuck.
I am using standard Visio shapes “Software and Database->Software->UML Class”.
My goal is to add Class element and then add Member element to it.
After some reading i think that Class element is container. I can add Class by:
long classId = diagram.AddShape(4.25, 5.5, 2, 1, @“Class”, 0);
Shape shapeC = diagram.Pages[0].Shapes.GetShape(classId);

But the problem is when I try to add Member
long memberId = diagram.AddShape(4, 5, @“Member”, 0);
The debug process never reach the next step , but the program is working.

My question is how I can add a member to Class(container).

I check the documentation and gluing look promising, but the examples are with already created elements. And I am having a problem with placing an element in a page.

Any ideas are welcome.

Best regards

SampleOutput.7z (23.9 KB)

@razmanov

We need to check the related information at our end. We have logged an investigation ticket as DIAGRAMNET-52328 to further investigate your requirements. We will look into its details and let you know as soon as the ticket is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-52328) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou