DocumentClass.SaveAs2 Method
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Public Overridable Sub SaveAs2 ( _
ByRef FileName As Object, _
ByRef FileFormat As Object, _
ByRef LockComments As Object, _
ByRef Password As Object, _
ByRef AddToRecentFiles As Object, _
ByRef WritePassword As Object, _
ByRef ReadOnlyRecommended As Object, _
ByRef EmbedTrueTypeFonts As Object, _
ByRef SaveNativePictureFormat As Object, _
ByRef SaveFormsData As Object, _
ByRef SaveAsAOCELetter As Object, _
ByRef Encoding As Object, _
ByRef InsertLineBreaks As Object, _
ByRef AllowSubstitutions As Object, _
ByRef LineEnding As Object, _
ByRef AddBiDiMarks As Object, _
ByRef CompatibilityMode As Object _
)
'Usage
Dim instance As DocumentClass
Dim FileName As Object
Dim FileFormat As Object
Dim LockComments As Object
Dim Password As Object
Dim AddToRecentFiles As Object
Dim WritePassword As Object
Dim ReadOnlyRecommended As Object
Dim EmbedTrueTypeFonts As Object
Dim SaveNativePictureFormat As Object
Dim SaveFormsData As Object
Dim SaveAsAOCELetter As Object
Dim Encoding As Object
Dim InsertLineBreaks As Object
Dim AllowSubstitutions As Object
Dim LineEnding As Object
Dim AddBiDiMarks As Object
Dim CompatibilityMode As Object
instance.SaveAs2(FileName, FileFormat, _
LockComments, Password, AddToRecentFiles, _
WritePassword, ReadOnlyRecommended, _
EmbedTrueTypeFonts, SaveNativePictureFormat, _
SaveFormsData, SaveAsAOCELetter, _
Encoding, InsertLineBreaks, AllowSubstitutions, _
LineEnding, AddBiDiMarks, CompatibilityMode)
public virtual void SaveAs2(
ref Object FileName,
ref Object FileFormat,
ref Object LockComments,
ref Object Password,
ref Object AddToRecentFiles,
ref Object WritePassword,
ref Object ReadOnlyRecommended,
ref Object EmbedTrueTypeFonts,
ref Object SaveNativePictureFormat,
ref Object SaveFormsData,
ref Object SaveAsAOCELetter,
ref Object Encoding,
ref Object InsertLineBreaks,
ref Object AllowSubstitutions,
ref Object LineEnding,
ref Object AddBiDiMarks,
ref Object CompatibilityMode
)
Parameters
- FileName
Type: System.Object%
- FileFormat
Type: System.Object%
- LockComments
Type: System.Object%
- Password
Type: System.Object%
- AddToRecentFiles
Type: System.Object%
- WritePassword
Type: System.Object%
- ReadOnlyRecommended
Type: System.Object%
- EmbedTrueTypeFonts
Type: System.Object%
- SaveNativePictureFormat
Type: System.Object%
- SaveFormsData
Type: System.Object%
- SaveAsAOCELetter
Type: System.Object%
- Encoding
Type: System.Object%
- InsertLineBreaks
Type: System.Object%
- AllowSubstitutions
Type: System.Object%
- LineEnding
Type: System.Object%
- AddBiDiMarks
Type: System.Object%
- CompatibilityMode
Type: System.Object%