다음을 통해 공유


Theme Constructors

Definition

Overloads

Theme()

Initializes a new instance of the Theme class.

Theme(OpenXmlElement[])

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

Theme(IEnumerable<OpenXmlElement>)

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

Theme(String)

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

Theme()

Initializes a new instance of the Theme class.

public Theme ();
Public Sub New ()

Applies to

Theme(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Theme(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Theme(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to