Share via


Selection.Start Property

Returns or sets the starting character position of a selection.

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

Syntax

'Declaration
Property Start As Integer
    Get
    Set
'Usage
Dim instance As Selection
Dim value As Integer

value = instance.Start

instance.Start = value
int Start { get; set; }

Property Value

Type: System.Int32

Remarks

If this property is set to a value larger than that of the End property, the End property is set to the same value as that of Start property.

Selection, Range, and Bookmark objects have starting and ending character positions. The starting position refers to the character position closest to the beginning of the story.

This property returns the starting character position relative to the beginning of the story. The main text story (wdMainTextStory) begins with character position 0 (zero). You can change the size of a selection by setting this property.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace