H
hellothere
Good morning everyone,
I'm creating a Visio add-on software in C#. I would like to read Visio
diagrams and recognize if the user have used a very specific master shape
that comes with Visio.
For example, I would like to be able to say: "Aha! the user have used 5
instances of the On-page reference shape." for a diagram draw in the US,
France or Australia.
By the way, I'm currently comparing a shape's master.NameU to a predefined
string like "On-page reference" for example. This works now, but I'm worried
about what will happen if the user uses another stencil that also has a shape
called exactly by that same name. I have also tried master.BaseID, but the
value of that property changes from one diagram to another, even for the same
master shape...
Help! Mayday, mayday! Any comments or answers will be greatly appreciated,
so I thank you in advance.
Have a nice week end!
I'm creating a Visio add-on software in C#. I would like to read Visio
diagrams and recognize if the user have used a very specific master shape
that comes with Visio.
For example, I would like to be able to say: "Aha! the user have used 5
instances of the On-page reference shape." for a diagram draw in the US,
France or Australia.
By the way, I'm currently comparing a shape's master.NameU to a predefined
string like "On-page reference" for example. This works now, but I'm worried
about what will happen if the user uses another stencil that also has a shape
called exactly by that same name. I have also tried master.BaseID, but the
value of that property changes from one diagram to another, even for the same
master shape...
Help! Mayday, mayday! Any comments or answers will be greatly appreciated,
so I thank you in advance.
Have a nice week end!