How add or show an stencil into shapes window?

G

Gavilán

Hi again,

Using the drawing control, I open a document created in Visio, so, initialy
the document shows the shapes window with eight diferent group of masters
(stencil). But when I save the document using the method SaveAs

loDrawingControl.Document.SaveAs

the document doesn't remember which stencils had been opened, so when I open
newly the document, the shapes window is empty, doesn't have shapes.

Then, I need open manually each stencil needed.

Somebody knows how add an stencil to shapes window programatically using the
drawing control ?

Thank you

Enrique
 
J

JuneTheSecond

Try this.
AxDrawingControl1.Window.Application.Addons("UML Background
Add-on").Run("/CMD=2016")
 
G

Gavilán

WoWW,

your knwoledge is impressive,

The last day's cuestion, it is not my cuestion, but some people do it.

Are you generated code with MS-Visio ?

The people says that there aren't who use Visio for generate code.

thanks a lot,

best regards,

Enrique
 

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