共用方式為


ColorsType Class

Defines the ColorsType class.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Diagrams.ColorsType
        DocumentFormat.OpenXml.Drawing.Diagrams.EffectColorList
        DocumentFormat.OpenXml.Drawing.Diagrams.FillColorList
        DocumentFormat.OpenXml.Drawing.Diagrams.LineColorList
        DocumentFormat.OpenXml.Drawing.Diagrams.TextEffectColorList
        DocumentFormat.OpenXml.Drawing.Diagrams.TextFillColorList
        DocumentFormat.OpenXml.Drawing.Diagrams.TextLineColorList

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

Syntax

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

Remarks

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>

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

ColorsType Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace