Word.LocationRelation enum

Fields

adjacentAfter = "AdjacentAfter"

Indicates that this instance occurs after, and is adjacent to, the range.

adjacentBefore = "AdjacentBefore"

Indicates that this instance occurs before, and is adjacent to, the range.

after = "After"

Indicates that this instance occurs after the range.

before = "Before"

Indicates that this instance occurs before the range.

contains = "Contains"

Indicates that this instance contains the range, with the exception of the start and end character of this instance.

containsEnd = "ContainsEnd"

Indicates that this instance contains the range and that it shares the same end character. The range does not share the same start character as this instance.

containsStart = "ContainsStart"

Indicates that this instance contains the range and that it shares the same start character. The range does not share the same end character as this instance.

equal = "Equal"

Indicates that this instance and the range represent the same range.

inside = "Inside"

Indicates that this instance is inside the range. The range does not share the same start and end characters as this instance.

insideEnd = "InsideEnd"

Indicates that this instance is inside the range and that it shares the same end character. The range does not share the same start character as this instance.

insideStart = "InsideStart"

Indicates that this instance is inside the range and that it shares the same start character. The range does not share the same end character as this instance.

overlapsAfter = "OverlapsAfter"

Indicates that this instance starts inside the range and overlaps the range’s last character.

overlapsBefore = "OverlapsBefore"

Indicates that this instance starts before the range and overlaps the range’s first character.

unrelated = "Unrelated"

Indicates that this instance and the range are in different sub-documents.