ITextDocument::New method
Opens a new document.
Syntax
HRESULT New();
Parameters
This method has no parameters.
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
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
See also
- Reference
- ITextDocument
- Open
- Conceptual
- Text Object Model
Send comments about this topic to Microsoft
Build date: 10/27/2012