示例#1
0
            public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
            {
                PlotRange s = (PlotRange)obj;

                info.AddValue("LowerBound", s._lowerBound);
                info.AddValue("UpperBound", s._upperBound);
            }
示例#2
0
            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);
            }
示例#3
0
 public PlotRange(PlotRange a)
 {
     _lowerBound       = a._lowerBound;
     _upperBound       = a._upperBound;
     _offsetToOriginal = a._offsetToOriginal;
 }