RichStyle Constructors

Definition

Overloads

RichStyle()

Initializes a new instance of the RichStyle class.

RichStyle(OpenXmlElement[])

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

RichStyle(IEnumerable<OpenXmlElement>)

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

RichStyle(String)

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

RichStyle()

Initializes a new instance of the RichStyle class.

public RichStyle ();
Public Sub New ()

Applies to

RichStyle(OpenXmlElement[])

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

public RichStyle (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2019.Excel.RichData2.RichStyle : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2019.Excel.RichData2.RichStyle
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

RichStyle(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

RichStyle(String)

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

public RichStyle (string outerXml);
new DocumentFormat.OpenXml.Office2019.Excel.RichData2.RichStyle : string -> DocumentFormat.OpenXml.Office2019.Excel.RichData2.RichStyle
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to