// 2012-05-28 _prefixText and _postfixText deprecated and moved to LabelFormattingBase public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (AxisLabelStyle)obj; info.AddValue("Font", s._font); info.AddValue("Brush", s._brush); info.AddValue("Background", s._backgroundStyle); info.AddValue("AutoAlignment", s._automaticRotationShift); info.AddEnum("HorzAlignment", s._horizontalAlignment); info.AddEnum("VertAlignment", s._verticalAlignment); info.AddValue("Rotation", s._rotation); info.AddValue("XOffset", s._xOffset); info.AddValue("YOffset", s._yOffset); if (s._suppressedLabels.IsEmpty) { info.AddValue("SuppressedLabels", (object)null); } else { info.AddValue("SuppressedLabels", s._suppressedLabels); } info.AddValue("LabelFormat", s._labelFormatting); info.AddNullableEnum("LabelSide", s._labelSide); }
public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (ScatterPlotStyle)obj; info.AddValue("IndependentSkipFreq", s._independentSkipFreq); info.AddValue("SkipFreq", s._skipFreq); info.AddValue("IgnoreMissingDataPoints", s._ignoreMissingDataPoints); info.AddValue("IndependentOnShiftingGroupStyles", s._independentOnShiftingGroupStyles); info.AddValue("IndependentScatterSymbol", s._independentScatterSymbol); info.AddValue("ScatterSymbol", s._scatterSymbol); info.AddValue("IndependentSymbolSize", s._independentSymbolSize); info.AddValue("SymbolSize", s._symbolSize); info.AddValue("IndependentColor", s._independentColor); info.AddValue("Color", s._color); info.AddValue("OverrideFrame", s._overrideFrame); info.AddValue("OverriddenFrame", s._overriddenFrame); info.AddValue("OverrideInset", s._overrideInset); info.AddValue("OverriddenInset", s._overriddenInset); info.AddValue("OverriddenStructureWidthOffset", s._overrideStructureWidthOffset); info.AddValue("OverriddenStructureWidthFactor", s._overrideStructureWidthFactor); info.AddNullableEnum("OverriddenPlotColorInfluence", s._overridePlotColorInfluence); info.AddValue("OverriddenFillColor", s._overrideFillColor); info.AddValue("OverriddenFrameColor", s._overrideFrameColor); info.AddValue("OverriddenInsetColor", s._overrideInsetColor); }
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (AxisLabelStyle)obj; info.AddValue("Font", s._font); info.AddValue("Brush", s._brush); info.AddValue("Background", s._backgroundStyle); info.AddValue("AutoAlignment", s._automaticRotationShift); info.AddEnum("AlignmentX", s._alignmentX); info.AddEnum("AlignmentY", s._alignmentY); info.AddEnum("AlignmentZ", s._alignmentY); info.AddValue("RotationX", s._rotationX); info.AddValue("RotationY", s._rotationY); info.AddValue("RotationZ", s._rotationZ); info.AddValue("OffsetX", s._offsetX); info.AddValue("OffsetY", s._offsetY); info.AddValue("OffsetZ", s._offsetZ); if (s._suppressedLabels.IsEmpty) { info.AddValue("SuppressedLabels", (object)null); } else { info.AddValue("SuppressedLabels", s._suppressedLabels); } info.AddValue("LabelFormat", s._labelFormatting); info.AddNullableEnum("LabelSide", s._labelSide); }
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { var s = (GraphViewOptions)obj; info.AddValue("Graph", AbsoluteDocumentPath.GetAbsolutePath(s._graphDocument)); info.AddNullableEnum("RootLayerMarkersVisibility", s._rootLayerMarkersVisibility); }