Edit

Share via


Selection.InStory(Range) Method

Definition

Determines if the selection to which this method is applied is in the same story as the specified range.

public:
 bool InStory(Microsoft::Office::Interop::Word::Range ^ Range);
public bool InStory (Microsoft.Office.Interop.Word.Range Range);
abstract member InStory : Microsoft.Office.Interop.Word.Range -> bool
Public Function InStory (Range As Range) As Boolean

Parameters

Range
Range

Required Range object. The Range object whose story is compared with the story that contains the specified selection.

Returns

Remarks

This method returns True if the selection to which this method is applied is in the same story as the range specified by the Range argument, and False if not.

Applies to