Color class

Office 2013 and later

Defines the Color Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is w15:color.

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

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class Color : OpenXmlLeafElement

2.3.27 color

Target namespace: http://schemas.microsoft.com/office/word/2012/wordml

The color global element<14> is a CT_Color (as specified in [ISO/IEC-29500-1] section A.1) element that specifies the color on which to base the visual elements of a structured document tag (as specified in [ISO/IEC-29500-1] section 17.5.2).

See section 2.2.3 for how this element integrates with [ISO/IEC-29500-1].

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="color" type="w12:CT_Color"/>

See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: