The options in the Relationship area in the Distance dialog box (Insert | Dimension | Distance) enable you to specify whether the distance measured between two features will be perpendicular to or parallel to a specific axis, or perpendicular to or parallel to a selected feature:
More: