Skip to content

Latest commit

 

History

History
113 lines (81 loc) · 3.36 KB

nf-tom-itextdocument-getstoryranges.md

File metadata and controls

113 lines (81 loc) · 3.36 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tom.ITextDocument.GetStoryRanges
ITextDocument::GetStoryRanges (tom.h)
Gets the story collection object used to enumerate the stories in a document.
GetStoryRanges
GetStoryRanges method [Windows Controls]
GetStoryRanges method [Windows Controls]
ITextDocument interface
ITextDocument interface [Windows Controls]
GetStoryRanges method
ITextDocument.GetStoryRanges
ITextDocument::GetStoryRanges
_win32_ITextDocument_GetStoryRanges
_win32_ITextDocument_GetStoryRanges_cpp
controls.ITextDocument_GetStoryRanges
controls._win32_ITextDocument_GetStoryRanges
tom/ITextDocument::GetStoryRanges
controls\ITextDocument_GetStoryRanges.htm
Controls
VS|Controls|~\controls\richedit\textobjectmodel\textobjectmodelreference\textobjectmodelinterfaces\getstoryranges.htm
12/05/2018
GetStoryRanges, GetStoryRanges method [Windows Controls], GetStoryRanges method [Windows Controls],ITextDocument interface, ITextDocument interface [Windows Controls],GetStoryRanges method, ITextDocument.GetStoryRanges, ITextDocument::GetStoryRanges, _win32_ITextDocument_GetStoryRanges, _win32_ITextDocument_GetStoryRanges_cpp, controls.ITextDocument_GetStoryRanges, controls._win32_ITextDocument_GetStoryRanges, tom/ITextDocument::GetStoryRanges
tom.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextDocument::GetStoryRanges
tom/ITextDocument::GetStoryRanges
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextDocument.GetStoryRanges

ITextDocument::GetStoryRanges

-description

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

-parameters

-param ppStories

Type: ITextStoryRanges**

The ITextStoryRanges pointer.

-returns

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 code Description
E_NOTIMPL
Not implemented; only one story in this document.

-remarks

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

-see-also

Conceptual

GetStoryCount

ITextDocument

ITextStoryRanges

Reference

Text Object Model