This is setSlopeDisplayMode, a member of class OdDgDisplayStyleLegendXAttribute.
OdDgDisplayStyleLegendXAttribute Methods