2011-01-27 5 views

답변

0

캐스트 IPersistFile 인터페이스로 문서, 다음 단순히 "(잘못된 경로) 저장"메소드를 수행

var iPersistFile = (IPersistFile)this.Application.ActiveDocument; 
iPersistFile.Save("[path]",false); 

모든 신용이 사람들로 간다 :

http://blogs.msdn.com/b/pranavwagh/archive/2008/04/03/how-to-do-a-save-copy-as-in-word.aspx

https://social.msdn.microsoft.com/Forums/vstudio/en-US/84f1ac3f-f078-4087-a627-351d6bb57173/how-to-get-document-content-in-byte-array?forum=vsto

관련 문제