Visual Studio Office (VSTO), Office 2007 .
Microsoft.Office.Tools.Word.Document.SaveAs
public virtual void SaveAs (
[OptionalAttribute] ref Object FileName,
[OptionalAttribute] ref Object FileFormat,
[OptionalAttribute] ref Object LockComments,
[OptionalAttribute] ref Object Password,
[OptionalAttribute] ref Object AddToRecentFiles,
[OptionalAttribute] ref Object WritePassword,
[OptionalAttribute] ref Object ReadOnlyRecommended,
[OptionalAttribute] ref Object EmbedTrueTypeFonts,
[OptionalAttribute] ref Object SaveNativePictureFormat,
[OptionalAttribute] ref Object SaveFormsData,
[OptionalAttribute] ref Object SaveAsAOCELetter,
[OptionalAttribute] ref Object Encoding,
[OptionalAttribute] ref Object InsertLineBreaks,
[OptionalAttribute] ref Object AllowSubstitutions,
[OptionalAttribute] ref Object LineEnding,
[OptionalAttribute] ref Object AddBiDiMarks
)
FileFormat WdSaveFormat enumeration.
, exatly 2003, RTF (WdSaveFormat.wdFormatRTF)