Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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:
Methods
The ITextStoryRanges2 interface has these methods.
ITextStoryRanges2::Item2 Gets an ITextRange2 object for a story, by index, in a stories collection. |
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 |