本文整理匯總了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);
}