Поделиться через


GradientStopList Class

Defines the GradientStopList Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:gsLst.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(GradientStop), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class GradientStopList _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As GradientStopList
[ChildElementInfoAttribute(typeof(GradientStop), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class GradientStopList : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • GradientStop <w14:gs>

2.5.11 CT_GradientStopList

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: CT_GradientFillProperties

A list of gradient stops that specify the gradient colors and their relative positions in the color band.

Child Elements:

gs : A CT_GradientStop element that specifies gradient stops.

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

<xsd:complexType name="CT_GradientStopList">

<xsd:sequence>

<xsd:element name="gs" type="CT_GradientStop" minOccurs="2" maxOccurs="10"/>

</xsd:sequence>

</xsd:complexType>

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

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

GradientStopList Members

DocumentFormat.OpenXml.Office2010.Word Namespace