| TextDocumentSave Method |
Saves the document.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public void Save(
string fileName,
[OptionalAttribute] TextOpenSave mode,
[OptionalAttribute] TextSaveFlags flags,
[OptionalAttribute] int codePage
)
Public Sub Save (
fileName As String,
<OptionalAttribute> mode As TextOpenSave,
<OptionalAttribute> flags As TextSaveFlags,
<OptionalAttribute> codePage As Integer
)
public:
void Save(
String^ fileName,
[OptionalAttribute] TextOpenSave mode,
[OptionalAttribute] TextSaveFlags flags,
[OptionalAttribute] int codePage
)
Parameters
- fileName
- Type: SystemString
Path and filename of the save target. Specify null to overwrite an existing document. - mode (Optional)
- Type: TextObjectModelTextOpenSave
Mutually exclusive options for saving the document. - flags (Optional)
- Type: TextObjectModelTextSaveFlags
Additional options for saving the document. - codePage (Optional)
- Type: SystemInt32
The code page to use for the file (0=auto).
See Also