Share via


Brush Constructors

Definition

Overloads

Brush()

Initializes a new instance of the Brush class.

Brush(OpenXmlElement[])

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

Brush(IEnumerable<OpenXmlElement>)

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

Brush(String)

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

Brush()

Initializes a new instance of the Brush class.

public Brush ();
Public Sub New ()

Applies to

Brush(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Brush(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Brush(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to