ITextDocument2::GetMainStory method (tom.h)
Gets the main story.
Syntax
HRESULT GetMainStory(
[out, retval] ITextStory **ppStory
);
Parameters
[out, retval] ppStory
Type: ITextStory**
The main story.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
A rich edit control automatically includes the main story; a call to the ITextDocument2::GetNewStory method is not required.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | tom.h |
DLL | Msftedit.dll |