Export (0) Print
Expand All

ITextDocument::GetStoryRanges method

Gets the story collection object used to enumerate the stories in a document.

Syntax


HRESULT GetStoryRanges(
  ITextStoryRanges **ppStories
);

Parameters

ppStories

Type: ITextStoryRanges**

The ITextStoryRanges pointer.

Return value

Type: HRESULT

If the method succeeds, it returns S_OK. If the method fails, it returns the following COM error code. For more information about COM error codes, see Error Handling in COM.

Return codeDescription
E_NOTIMPL

Not implemented; only one story in this document.

 

Remarks

Invoke this method only if ITextDocument::GetStoryCount returns a value greater than 1.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

Reference
ITextDocument
GetStoryCount
ITextStoryRanges
Conceptual
Text Object Model

 

 

Community Additions

ADD
Show:
© 2014 Microsoft