Nearest functions
Example for
NearestX:
The following code specifies that the sought element is horizontally nearest to the right boundary of the ElementName element.
NearestY:
The following code specifies that the sought element is vertically nearest to the top boundary of the ElementName element.
Nearest( XInterval x, YInterval y ):
The following code specifies that the sought element is closest to the center of the ElementName element.
Nearest( PageEdge ):
To specify that the current element is closest to the bottom edge of the page, write:
Nearest( Hypothesis hyp ):
The following code specifies that the sought element is closest to the ElementName element.
