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];
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top