Beispiel #1
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                FloatingScale s = null != o ? (FloatingScale)o : new FloatingScale(info);

                info.GetBaseValueEmbedded(s, typeof(FloatingScale).BaseType, parent);

                s._scaleNumber      = info.GetInt32("ScaleNumber");
                s._scaleSpanType    = (FloatingScaleSpanType)info.GetEnum("ScaleSpanType", typeof(FloatingScaleSpanType));
                s._scaleSpanValue   = info.GetDouble("ScaleSpanValue");
                s._scaleSegmentType = (ScaleSegmentType)info.GetEnum("ScaleType", typeof(ScaleSegmentType));

                s._tickSpacing = (TickSpacing)info.GetValue("TickSpacing", s);
                if (null != s._tickSpacing)
                {
                    s._tickSpacing.ParentObject = s;
                }

                s._axisStyle = (AxisStyle)info.GetValue("AxisStyle", s);
                if (null != s._axisStyle)
                {
                    s._axisStyle.ParentObject = s;
                }

                s._background = (IBackgroundStyle)info.GetValue("Background", s);
                if (null != s._background)
                {
                    s._background.ParentObject = s;
                    s._backgroundPadding       = (Margin2D)info.GetValue("BackgroundPadding", s);
                }

                return(s);
            }
Beispiel #2
0
			public MyHitTestObject(FloatingScale obj)
				: base(obj)
			{
			}
Beispiel #3
0
		public FloatingScale(FloatingScale from)
			: base(from) // all is done here, since CopyFrom is virtual!
		{
		}
Beispiel #4
0
 public MyHitTestObject(FloatingScale obj)
     : base(obj)
 {
 }
Beispiel #5
0
 public FloatingScale(FloatingScale from)
     : base(from) // all is done here, since CopyFrom is virtual!
 {
 }