Dear all,
I'm using C#.net 2008 and Visio 2007.
in my forms application I use an axDrawingControl to render UML static structures. I use the stencil UMLSTR_M.vss and dropped a shape
Collapse newShape = currentPage.Drop(currentStencil.Masters["Class"], 3.00, 10.00);
I can change the name of the class
Collapse foreach (Visio.Shape tempInnerShape in newShape.Shapes)
{
if (tempInnerShape.Name == "Name")
{
tempInnerShape.Text = "Student";
}
if (tempInnerShape.Name == "Attributes")
{
}
}
But I cant set text for attributes. Can read all attributes and Operations from an already drawn class but can not set.
Please help me to do the task.
Thank you