Share via


RichText Constructors

Definition

Overloads

RichText()

Initializes a new instance of the RichText class.

RichText(OpenXmlElement[])

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

RichText(IEnumerable<OpenXmlElement>)

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

RichText(String)

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

RichText()

Initializes a new instance of the RichText class.

public RichText ();
Public Sub New ()

Applies to

RichText(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

RichText(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

RichText(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to