public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { PlotRange s = (PlotRange)obj; info.AddValue("LowerBound", s._lowerBound); info.AddValue("UpperBound", s._upperBound); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { PlotRange s = null != o ? (PlotRange)o : new PlotRange(0, 0); s._lowerBound = info.GetInt32("LowerBound"); s._upperBound = info.GetInt32("UpperBound"); return(s); }
public PlotRange(PlotRange a) { _lowerBound = a._lowerBound; _upperBound = a._upperBound; _offsetToOriginal = a._offsetToOriginal; }