Skip to content

Latest commit

 

History

History
62 lines (53 loc) · 2.33 KB

nn-tom-itextstoryranges2.md

File metadata and controls

62 lines (53 loc) · 2.33 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
NN:tom.ITextStoryRanges2
ITextStoryRanges2 (tom.h)
The ITextStoryRanges2 interface enumerates the stories in an ITextDocument.
ITextStoryRanges2
ITextStoryRanges2 interface [Windows Controls]
ITextStoryRanges2 interface [Windows Controls]
described
controls.itextstoryranges2
tom/ITextStoryRanges2
controls\itextstoryranges2.htm
Controls
24e2dd79-8054-44e3-aa68-778a96e2f66a
12/05/2018
ITextStoryRanges2, ITextStoryRanges2 interface [Windows Controls], ITextStoryRanges2 interface [Windows Controls],described, controls.itextstoryranges2, tom/ITextStoryRanges2
tom.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextStoryRanges2
tom/ITextStoryRanges2
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextStoryRanges2

ITextStoryRanges2 interface

-description

The ITextStoryRanges2 interface enumerates the stories in an ITextDocument.

You get a pointer to an ITextStoryRanges2 collection by using the ITextDocument::GetStoryRanges method. Each story obtained from this collection is represented by an ITextRange2 object that covers the whole story.

A Text Object Model (TOM) implementation that has only a single story doesn't need to implement the ITextStoryRanges2 interface. An implementation of this interface should only retrieve a stories collection if ITextDocument::GetStoryCount returns a story count greater than one.

-inheritance

The ITextStoryRanges2 interface inherits from ITextStoryRanges. ITextStoryRanges2 also has these types of members: