Freigeben über


Color2Type-Klasse

Defines the Color2Type class.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Color2Type
        

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(RgbColorModelPercentage))> _
<ChildElementInfoAttribute(GetType(HslColor))> _
<ChildElementInfoAttribute(GetType(SystemColor))> _
<ChildElementInfoAttribute(GetType(RgbColorModelHex))> _
<ChildElementInfoAttribute(GetType(PresetColor))> _
Public MustInherit Class Color2Type _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Color2Type
[ChildElementInfoAttribute(typeof(RgbColorModelPercentage))]
[ChildElementInfoAttribute(typeof(HslColor))]
[ChildElementInfoAttribute(typeof(SystemColor))]
[ChildElementInfoAttribute(typeof(RgbColorModelHex))]
[ChildElementInfoAttribute(typeof(PresetColor))]
public abstract class Color2Type : OpenXmlCompositeElement

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Color2Type-Member

DocumentFormat.OpenXml.Drawing-Namespace

Vererbungshierarchie

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