다음을 통해 공유


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.Drawing.Spreadsheet.ShapeStyle : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.Spreadsheet.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.Drawing.Spreadsheet.ShapeStyle : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.Spreadsheet.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.Drawing.Spreadsheet.ShapeStyle : string -> DocumentFormat.OpenXml.Drawing.Spreadsheet.ShapeStyle
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to