PathGradientFill Class

Path Gradient.When the object is serialized out as xml, its qualified name is a:path.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.PathGradientFill

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(FillToRectangle))> _
Public Class PathGradientFill _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As PathGradientFill
[ChildElementInfoAttribute(typeof(FillToRectangle))]
public class PathGradientFill : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • FillToRectangle <a:fillToRect>

[ISO/IEC 29500-1 1st Edition]

20.1.8.46 path (Path Gradient)

This element defines that a gradient fill follows a path vs. a linear line.[Example:

DocumentFormat.OpenXml.Drawing.PathGradientFill-im

The examples above illustrate gradient fills following a circular, rectangular or shape path.

end example]

Parent Elements

gradFill (§20.1.8.33)

Child Elements

Subclause

fillToRect (Fill To Rectangle)

§20.1.8.31

Attributes

Description

path (Gradient Fill Path)

Specifies the shape of the path to follow.

The possible values for this attribute are defined by the ST_PathShadeType simple type (§20.1.10.38).

[Note: The W3C XML Schema definition of this element’s content model (CT_PathShadeProperties) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

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

PathGradientFill Members

DocumentFormat.OpenXml.Drawing Namespace