Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

Reference
ITextDocument
Open
Conceptual
Text Object Model

 

 

Community Additions

ADD
Show:
© 2015 Microsoft