C# Visio drawing control -- Close stencils

P

Pradeep

I am working on Visio drawing control in my application using C#.
There is a button "Open". On clicking this, I want to close all the stencils
which are currently open and then load the stencil "abc.vss".
Please help me out how to implement this in C#
 
P

Paul Herber

I am working on Visio drawing control in my application using C#.
There is a button "Open". On clicking this, I want to close all the stencils
which are currently open and then load the stencil "abc.vss".
Please help me out how to implement this in C#

an algorithm to look at, conversion to C# is left as an exercise...

for all open documents {
if upprecase(file extension) = '.vss' {
close document
}
}
active document openStencil("abc.vss")
 

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