Click or drag to resize
TextDocumentSave Method
Saves the document.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
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