Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Opens a new document.
Syntax
HRESULT New();
Return value
Type: HRESULT
If the ITextDocument::New method succeeds, it returns S_OK.
Remarks
If another document is open, this method saves any current changes and closes the current document before opening a new one.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | tom.h |
| DLL | Msftedit.dll |
See also
Conceptual
Reference