SolidColorFillProperties class

Office 2013 and later

Defines the SolidColorFillProperties Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is w14:solidFill.


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

[ChildElementInfoAttribute(typeof(RgbColorModelHex), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
[ChildElementInfoAttribute(typeof(SchemeColor), FileFormatVersions.None|FileFormatVersions.Office2010|FileFormatVersions.Office2013)]
public class SolidColorFillProperties : OpenXmlCompositeElement

2.5.14 CT_SolidColorFillProperties

Target namespace:

Referenced by: CT_TextOutlineEffect, CT_FillTextEffect

A complex type that specifies a solid color fill. If this element has no child elements, black is used as a default.

Child Elements:

srgbClr: A CT_SRgbColor element that specifies the color in the RGB color model.

schemeClr: A CT_SchemeColor element that specifies a color from a theme. Color changes if theme bindings change.

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

<xsd:complexType name="CT_SolidColorFillProperties">


<xsd:group ref="EG_ColorChoice" minOccurs="0"/>



See section 5.1 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.