本文整理汇总了C#中Altaxo.AddNullableEnum方法的典型用法代码示例。如果您正苦于以下问题:C# Altaxo.AddNullableEnum方法的具体用法?C# Altaxo.AddNullableEnum怎么用?C# Altaxo.AddNullableEnum使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Altaxo
的用法示例。
在下文中一共展示了Altaxo.AddNullableEnum方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Serialize
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
{
AxisLabelStyle 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);
}
示例2: Serialize
// 2012-05-28 _prefixText and _postfixText deprecated and moved to LabelFormattingBase
public void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
{
AxisLabelStyle 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);
}
示例3: Serialize
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);
}