ITextDocument2::GetMainStory method

Gets the main story.

Syntax


HRESULT GetMainStory(
  [out, retval] ITextStory **ppStory
);

Parameters

ppStory [out, retval]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

ITextDocument2

 

 

Show: