GradientStop class
Defines the GradientStop Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is w14:gs.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Word.GradientStop
Namespace: DocumentFormat.OpenXml.Office2010.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.5.10 CT_GradientStop
Target namespace: http://schemas.microsoft.com/office/word/2010/wordml
Referenced by: CT_GradientStopList
A complex type that specifies a gradient stop. A gradient stop consists of a position where the stop appears in the color band.
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.
Attributes:
pos: A ST_PositiveFixedPercentage as specified in [ISO/IEC-29500-4] section 12.1.2.3 and [ISO/IEC-29500-1] section 20.1.10.45 that specifies where this gradient stop should appear in the color band.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_GradientStop">
<xsd:sequence>
<xsd:group ref="EG_ColorChoice"/>
</xsd:sequence>
<xsd:attribute name="pos" type="a:ST_PositiveFixedPercentage" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).