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

                Edge edge = (Edge)info.GetValue("Edge", s);

                s._font = (Font)info.GetValue("Font", s);
                s.SetStringFormat();
                return(s);
            }
Esempio n. 2
0
            public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                AxisLabelStyle s = null != o ? (AxisLabelStyle)o : new AxisLabelStyle(info);

                var edge = (Edge)info.GetValue("Edge", s);

                s._font = (FontX)info.GetValue("Font", s);

                s._brush = new BrushX(NamedColors.Black)
                {
                    ParentObject = s
                };
                s._automaticRotationShift = true;
                s._suppressedLabels       = new SuppressedTicks()
                {
                    ParentObject = s
                };
                s._labelFormatting = new Gdi.LabelFormatting.NumericLabelFormattingAuto()
                {
                    ParentObject = s
                };
                s.SetStringFormat();
                return(s);
            }