PathShadeProperties class

Office 2013 and later

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

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

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

No code example is currently available or this language may not be supported.

2.5.13 CT_PathShadeProperties

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

Referenced by: CT_GradientFillProperties

A complex type that specifies that a gradient fill follows a path versus a linear line.

Child Elements:

fillToRect: A CT_RelativeRect element that specifies the focus rectangle for center shade (as specified in [ISO/IEC-29500-1] section 20.1.8.31). Center shade fills the entire shape except the margins specified by each attribute of this element. Each edge of the center shade rectangle is specified by a percentage offset from the corresponding edge of the container. A positive percentage specifies an inset and a negative percentage specifies an outset. By default, center shade fills the entire shape.

Attributes:

path: An optional ST_PathShadeType attribute that specifies the shape of the path to follow. By default, gradient fill will follow a rectangular path.

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

<xsd:complexType name="CT_PathShadeProperties">

<xsd:sequence>

<xsd:element name="fillToRect" type="CT_RelativeRect" minOccurs="0"/>

</xsd:sequence>

<xsd:attribute name="path" type="ST_PathShadeType" use="optional"/>

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