.net - How can I get the filename of a Word document from C#? -


I am working on MS Word AddIn (VSTO). The idea is that I work on a Word document and I send it somewhere.

I need all the code except one code: there is a way, I can get the file name of the Word document I at work? (Assuming that has already been saved)

this.FullName Code in Property - Along with CC file, you must give the complete path of the current document.

This is the exact query in my Quickwatch window.

  ((Microsoft.Office.Tools.Word.Document) (this)). Full name  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -