Click or drag to resize
TextDocumentOpen Method
Opens a specified document.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public void Open(
	string fileName,
	[OptionalAttribute] TextOpenSave mode,
	[OptionalAttribute] TextOpenFlags flags,
	[OptionalAttribute] int codePage
)

Parameters

fileName
Type: SystemString
Path and filename of the document to open.
mode (Optional)
Type: TextObjectModelTextOpenSave
Mutually exclusive options for opening the document.
flags (Optional)
Type: TextObjectModelTextOpenFlags
Additional options for opening the document.
codePage (Optional)
Type: SystemInt32
The code page to use for the file (0=auto).
See Also