当前位置: 首页>>代码示例>>C#>>正文


C# Altaxo.AddNullableEnum方法代码示例

本文整理汇总了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);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:29,代码来源:AxisLabelStyle.cs

示例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);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:26,代码来源:AxisLabelStyle.cs

示例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);
			}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:28,代码来源:ScatterPlotStyle_Serialization.cs


注:本文中的Altaxo.AddNullableEnum方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。