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.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.SolidColorFillProperties

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)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class SolidColorFillProperties : OpenXmlCompositeElement

2.5.14 CT_SolidColorFillProperties

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

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:sequence>

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

</xsd:sequence>

</xsd:complexType>

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.
Show: