Range.InStory(Range) Method

Definition

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

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 expression.

Returns

Remarks

This method returns True if the selection or range 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