forPositionA positioning object that indicates a specified location.directionConstant indicating layout direction.
A text-range object that represents the distance from position to the farthest extent in a given direction.