Share via


ThemeVariant Constructors

Definition

Overloads

ThemeVariant()

Initializes a new instance of the ThemeVariant class.

ThemeVariant(OpenXmlElement[])

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

ThemeVariant(IEnumerable<OpenXmlElement>)

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

ThemeVariant(String)

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

ThemeVariant()

Initializes a new instance of the ThemeVariant class.

public ThemeVariant ();
Public Sub New ()

Applies to

ThemeVariant(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ThemeVariant(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ThemeVariant(String)

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

public ThemeVariant (string outerXml);
new DocumentFormat.OpenXml.Office2013.Theme.ThemeVariant : string -> DocumentFormat.OpenXml.Office2013.Theme.ThemeVariant
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to