Set Document Name

Hi guys

I'm using VS + C# for my Add-on

I create my new document by this code:

Document myDocument = myVisioApplication.Documents.Add("MyTemplateFile.vst");

and it create new document for me but the default name of this document is Drawing1.vsdx , Drawing2.vsdx , ....

How can I set another name for that without saving?

Regards

Danesh

January 22nd, 2015 6:01pm

You can't, the document name is a read-only attribute, it is set by saving the file.

Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2015 7:16pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics