ITextDocument2::GetStoryRanges2 method (tom.h)

Gets an object for enumerating the stories in a document.

Syntax

HRESULT GetStoryRanges2(
  [out, retval] ITextStoryRanges2 **ppStories
);

Parameters

[out, retval] ppStories

Type: ITextStoryRanges2**

The object for enumerating stories.

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Remarks

Call this method only if the ITextDocument::GetStoryCount method returns a value that is greater than one.

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

See also

ITextDocument2