Freigeben über


ColorType-Klasse

Defines the ColorType class.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.ColorType
        DocumentFormat.OpenXml.Presentation.ColorValue
        DocumentFormat.OpenXml.Presentation.PenColor

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

Syntax

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

Hinweise

The following table lists the possible child types:DocumentFormat.OpenXml.Drawing.RgbColorModelPercentage <a:scrgbClr>DocumentFormat.OpenXml.Drawing.RgbColorModelHex <a:srgbClr>DocumentFormat.OpenXml.Drawing.HslColor <a:hslClr>DocumentFormat.OpenXml.Drawing.SystemColor <a:sysClr>DocumentFormat.OpenXml.Drawing.SchemeColor <a:schemeClr>DocumentFormat.OpenXml.Drawing.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.Presentation-Namespace