Aracılığıyla paylaş


RichStyles Constructors

Definition

Overloads

RichStyles()

Initializes a new instance of the RichStyles class.

RichStyles(OpenXmlElement[])

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

RichStyles(IEnumerable<OpenXmlElement>)

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

RichStyles(String)

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

RichStyles()

Initializes a new instance of the RichStyles class.

public RichStyles ();
Public Sub New ()

Applies to

RichStyles(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

RichStyles(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

RichStyles(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to