TextStyles Constructors

Definition

Overloads

TextStyles()

Initializes a new instance of the TextStyles class.

TextStyles(OpenXmlElement[])

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

TextStyles(IEnumerable<OpenXmlElement>)

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

TextStyles(String)

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

TextStyles()

Initializes a new instance of the TextStyles class.

public TextStyles ();
Public Sub New ()

Applies to

TextStyles(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

TextStyles(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

TextStyles(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to