Sets the value of HorizontalLength attribute. Horizontal length is length measured as distance along the horizontal alignment of the segment.