Freigeben über


ColorType-Klasse

Defines the ColorType class.

Vererbungshierarchie

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

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(SchemeColor))> _
<ChildElementInfoAttribute(GetType(PresetColor))> _
Public MustInherit Class ColorType _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ColorType
[ChildElementInfoAttribute(typeof(RgbColorModelPercentage))]
[ChildElementInfoAttribute(typeof(HslColor))]
[ChildElementInfoAttribute(typeof(SystemColor))]
[ChildElementInfoAttribute(typeof(RgbColorModelHex))]
[ChildElementInfoAttribute(typeof(SchemeColor))]
[ChildElementInfoAttribute(typeof(PresetColor))]
public abstract class ColorType : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:RgbColorModelPercentage <a:scrgbClr>RgbColorModelHex <a:srgbClr>HslColor <a:hslClr>SystemColor <a:sysClr>SchemeColor <a:schemeClr>PresetColor <a:prstClr>

Threadsicherheit

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

Siehe auch

Referenz

ColorType-Member

DocumentFormat.OpenXml.Drawing-Namespace

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.ColorType
        DocumentFormat.OpenXml.Drawing.BackgroundColor
        DocumentFormat.OpenXml.Drawing.BulletColor
        DocumentFormat.OpenXml.Drawing.ColorFrom
        DocumentFormat.OpenXml.Drawing.ColorTo
        DocumentFormat.OpenXml.Drawing.ContourColor
        DocumentFormat.OpenXml.Drawing.ExtrusionColor
        DocumentFormat.OpenXml.Drawing.ForegroundColor
        DocumentFormat.OpenXml.Drawing.Highlight