Share via


GradientFill Constructors

Definition

Overloads

GradientFill()

Initializes a new instance of the GradientFill class.

GradientFill(OpenXmlElement[])

Initializes a new instance of the GradientFill class with the specified child elements.

GradientFill(IEnumerable<OpenXmlElement>)

Initializes a new instance of the GradientFill class with the specified child elements.

GradientFill(String)

Initializes a new instance of the GradientFill class from outer XML.

GradientFill()

Initializes a new instance of the GradientFill class.

public GradientFill ();
Public Sub New ()

Applies to

GradientFill(OpenXmlElement[])

Initializes a new instance of the GradientFill class with the specified child elements.

public GradientFill (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Drawing.GradientFill : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.GradientFill
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

GradientFill(IEnumerable<OpenXmlElement>)

Initializes a new instance of the GradientFill class with the specified child elements.

public GradientFill (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Drawing.GradientFill : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.GradientFill
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

GradientFill(String)

Initializes a new instance of the GradientFill class from outer XML.

public GradientFill (string outerXml);
new DocumentFormat.OpenXml.Drawing.GradientFill : string -> DocumentFormat.OpenXml.Drawing.GradientFill
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to