Word.RangeLocation enum

Fields

after = "After"

The point after the object. If the object is a paragraph content control or table content control, it is the point after the EOP or Table characters.

before = "Before"

For content control only. It is the point before the opening tag.

content = "Content"

The range between 'Start' and 'End'.

end = "End"

The ending point of the object. For paragraph, it is the point before the EOP. For content control, it is the point before the closing tag.

start = "Start"

The starting point of the object. For content control, it is the point after the opening tag.

whole = "Whole"

The object's whole range. If the object is a paragraph content control or table content control, the EOP or Table characters after the content control are also included.