H
Hemant
Hai .....,
I 'm trying to build a Add-In for Visio 2003. For this Add-In to
work, I need to get the information related to the Selected Shape on the
current Active document i.e page. I have tried the following method. In the
debug mode, it displays that ContainingShape = 1, when i have selected only
one shape in the page. But I'm not able to extract further information (like
the Class Name, Attributes, Member Functions, etc..,) . Any help on this is
really appreciable
Visio.Page currentPage = visioApp.ActivePage;
Visio.Selection selection = currentPage.Application.ActiveWindow.Selection;
Visio.Shape selectedShape = selection.ContainingShape;
I 'm trying to build a Add-In for Visio 2003. For this Add-In to
work, I need to get the information related to the Selected Shape on the
current Active document i.e page. I have tried the following method. In the
debug mode, it displays that ContainingShape = 1, when i have selected only
one shape in the page. But I'm not able to extract further information (like
the Class Name, Attributes, Member Functions, etc..,) . Any help on this is
really appreciable
Visio.Page currentPage = visioApp.ActivePage;
Visio.Selection selection = currentPage.Application.ActiveWindow.Selection;
Visio.Shape selectedShape = selection.ContainingShape;