Share via


StyleData Constructors

Definition

Overloads

StyleData()

Initializes a new instance of the StyleData class.

StyleData(OpenXmlElement[])

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

StyleData(IEnumerable<OpenXmlElement>)

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

StyleData(String)

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

StyleData()

Initializes a new instance of the StyleData class.

public StyleData ();
Public Sub New ()

Applies to

StyleData(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

StyleData(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

StyleData(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to