Determining Stencil from master shape

L

Lant

Using Visio 2003 and VBA for automaion
Can the name of the stencil be determined from the shape dropped on a
drawing sheet programmatically. I have access to the master of the shape but
don't see any properties or methods to get the name of the stencil from which
it was dragged.
 
J

junethesecond

i think there is no way to know exactly from which stencil a shape come.
but, if there is the stencil in the stencils still open or in the known
folder, you may search for the shape among them by the name. in this case,
more than one shape may be found, if the name of the master shape is not
unique.
 

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