Selected shape in Visio ActiveX drawing control C#

P

Pradeep

I am working on Visio ActiveX Drawing control.
I request some one to help me out with the code in C# to get the shape which
is slected in the visio diagram.
I have to access the properties of the shape that is selected in the
diagram. Please help me out...Language is C#.
 
M

Marx

using Visio = Microsoft.Office.Interop.Visio;

Visio.Shape shape =
(Visio.Shape)axDrawingControl1.Document.Application.ActiveWindow.Selection[1];
 
Top