ITextDocument2::GetStoryRanges2 method

Gets an object for enumerating the stories in a document.

Syntax


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

Parameters

ppStories [out, retval]

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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft