Visio 2003 Add-in (Get Selected Shape info?)

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 theSelected Shapeon the current Active document. 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. Any help on this is really appreciable


Visio.Page currentPage = visioApp.ActivePage;
Visio.Selection selection = currentPage.Application.ActiveWindow.Selection;
Visio.Shape selectedShape = selection.ContainingShape;

[822 byte] By [HemantKumar] at [2007-12-16]
# 1
Hello Hemant,

Thanks for the question. Unfortunately, I don't think we have any Visio extensibility expertise in this forum.

(If somone out there does, then please speak up.)

I suggest you try the Visual Studio Tools for Office Forum to see if there are any Visio extensibilty people hanging around there (or they may know where to send you).

Good luck.

AllenD at 2007-9-9 > top of Msdn Tech,Visual Studio,Visual Studio Extensibility...

Visual Studio

Site Classified