Share via


ShapeStyle Constructors

Definition

Overloads

ShapeStyle()

Initializes a new instance of the ShapeStyle class.

ShapeStyle(OpenXmlElement[])

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

ShapeStyle(IEnumerable<OpenXmlElement>)

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

ShapeStyle(String)

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

ShapeStyle()

Initializes a new instance of the ShapeStyle class.

public ShapeStyle ();
Public Sub New ()

Applies to

ShapeStyle(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ShapeStyle(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ShapeStyle(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to