Partager via


ColorType Class

Defines the ColorType class.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.ColorType
        DocumentFormat.OpenXml.Office2010.Word.ContourColor
        DocumentFormat.OpenXml.Office2010.Word.ExtrusionColor

Namespace:  DocumentFormat.OpenXml.Office2010.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(RgbColorModelHex), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(SchemeColor), FileFormatVersions.Office2010)> _
Public MustInherit Class ColorType _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ColorType
[ChildElementInfoAttribute(typeof(RgbColorModelHex), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SchemeColor), FileFormatVersions.Office2010)]
public abstract class ColorType : 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

ColorType Members

DocumentFormat.OpenXml.Office2010.Word Namespace