StyleDefinition Constructors

Definition

Overloads

StyleDefinition()

Initializes a new instance of the StyleDefinition class.

StyleDefinition(OpenXmlElement[])

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

StyleDefinition(IEnumerable<OpenXmlElement>)

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

StyleDefinition(String)

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

StyleDefinition()

Initializes a new instance of the StyleDefinition class.

public StyleDefinition ();
Public Sub New ()

Applies to

StyleDefinition(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

StyleDefinition(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

StyleDefinition(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to