| TextDocumentOpen Method |
Opens a specified document.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public void Open(
string fileName,
[OptionalAttribute] TextOpenSave mode,
[OptionalAttribute] TextOpenFlags flags,
[OptionalAttribute] int codePage
)
Public Sub Open (
fileName As String,
<OptionalAttribute> mode As TextOpenSave,
<OptionalAttribute> flags As TextOpenFlags,
<OptionalAttribute> codePage As Integer
)
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