public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { LinkedImageGraphic s = (LinkedImageGraphic)obj; info.AddBaseValueEmbedded(s, typeof(LinkedImageGraphic).BaseType); info.AddValue("ImagePath", s._imagePath); }
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (ImageGraphic)obj; info.AddBaseValueEmbedded(s, typeof(ImageGraphic).BaseType); info.AddValue("SizeBasedOnSourceSize", s._isSizeCalculationBasedOnSourceSize); }
public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (TransformedReadableColumnProxy)obj; info.AddBaseValueEmbedded(obj, typeof(DocNodeProxy)); // serialize the base class info.AddValue("Transformation", s._transformation); }
public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (ItemLocationDirectAspectPreserving)obj; info.AddValue("OriginalSize", s._originalItemSize); info.AddEnum("AspectPreserving", s._aspectPreserving); info.AddBaseValueEmbedded(obj, typeof(ItemLocationDirectAspectPreserving).BaseType); }
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (OpenPathShapeBase)obj; info.AddBaseValueEmbedded(s, typeof(OpenPathShapeBase).BaseType); info.AddValue("LinePen", s._linePen); }
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (DateTimeLabelFormatting)obj; info.AddBaseValueEmbedded(s, typeof(MultiLineLabelFormattingBase)); info.AddEnum("TimeConversion", s._timeConversion); info.AddValue("FormatString", s._formatString); info.AddValue("ShowAlternateFormattingAtMidnight", s._showAlternateFormattingAtMidnight); info.AddValue("ShowAlternateFormattingAtNoon", s._showAlternateFormattingAtNoon); info.AddValue("FormatStringAlternate", s._formatStringAlternate); }
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (ClosedCardinalSpline)obj; info.AddBaseValueEmbedded(s, typeof(ClosedCardinalSpline).BaseType); info.AddValue("Tension", s._tension); info.CreateArray("Points", s._curvePoints.Count); for (int i = 0; i < s._curvePoints.Count; i++) { info.AddValue("e", s._curvePoints[i]); } info.CommitArray(); }
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (FloatingScale)obj; info.AddBaseValueEmbedded(s, typeof(FloatingScale).BaseType); info.AddValue("ScaleNumber", s._scaleNumber); info.AddEnum("ScaleSpanType", s._scaleSpanType); info.AddValue("ScaleSpanValue", s._scaleSpanValue); info.AddEnum("ScaleType", s._scaleSegmentType); info.AddValue("TickSpacing", s._tickSpacing); info.AddValue("AxisStyle", s._axisStyle); info.AddValue("Background", s._background); if (null != s._background) { info.AddValue("BackgroundPadding", s._backgroundPadding); } }