Color2Type Class
Defines the Color2Type class.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Color2Type
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
<ChildElementInfoAttribute(GetType(RgbColorModelPercentage))> _
<ChildElementInfoAttribute(GetType(HslColor))> _
<ChildElementInfoAttribute(GetType(SystemColor))> _
<ChildElementInfoAttribute(GetType(RgbColorModelHex))> _
<ChildElementInfoAttribute(GetType(PresetColor))> _
Public MustInherit Class Color2Type _
Inherits OpenXmlCompositeElement
'Применение
Dim instance As Color2Type
[ChildElementInfoAttribute(typeof(RgbColorModelPercentage))]
[ChildElementInfoAttribute(typeof(HslColor))]
[ChildElementInfoAttribute(typeof(SystemColor))]
[ChildElementInfoAttribute(typeof(RgbColorModelHex))]
[ChildElementInfoAttribute(typeof(PresetColor))]
public abstract class Color2Type : OpenXmlCompositeElement
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
DocumentFormat.OpenXml.Drawing Namespace
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Color2Type
DocumentFormat.OpenXml.Drawing.Accent1Color
DocumentFormat.OpenXml.Drawing.Accent2Color
DocumentFormat.OpenXml.Drawing.Accent3Color
DocumentFormat.OpenXml.Drawing.Accent4Color
DocumentFormat.OpenXml.Drawing.Accent5Color
DocumentFormat.OpenXml.Drawing.Accent6Color
DocumentFormat.OpenXml.Drawing.Dark1Color
DocumentFormat.OpenXml.Drawing.Dark2Color
DocumentFormat.OpenXml.Drawing.FollowedHyperlinkColor
DocumentFormat.OpenXml.Drawing.Hyperlink
DocumentFormat.OpenXml.Drawing.Light1Color
DocumentFormat.OpenXml.Drawing.Light2Color