StoryRanges.Item Property

Returns a single story of a range or selection as a Range object.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Default Property Item ( _
    Index As WdStoryType _
) As Range
    Get
'Usage
Dim instance As StoryRanges
Dim Index As WdStoryType
Dim value As Range

value = instance(Index)
Range this[
    WdStoryType Index
] { get; }

Parameters

  • Index
    Type: Microsoft.Office.Interop.Word.WdStoryType
    Required WdStoryType. The specified story type. Can be one of these WdStoryType constants.
    wdCommentsStory
    wdEndnotesStory
    wdEvenPagesFooterStory
    wdEvenPagesHeaderStory
    wdFirstPageFooterStory
    wdFirstPageHeaderStory
    wdFootnotesStory
    wdMainTextStory
    wdPrimaryFooterStory
    wdPrimaryHeaderStory
    wdTextFrameStory

Property Value

Type: Microsoft.Office.Interop.Word.Range

See Also

Reference

StoryRanges Interface

StoryRanges Members

Microsoft.Office.Interop.Word Namespace