RichTextBody Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RichTextBody() |
Initializes a new instance of the RichTextBody class. |
RichTextBody(OpenXmlElement[]) |
Initializes a new instance of the RichTextBody class with the specified child elements. |
RichTextBody(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the RichTextBody class with the specified child elements. |
RichTextBody(String) |
Initializes a new instance of the RichTextBody class from outer XML. |
RichTextBody()
Initializes a new instance of the RichTextBody class.
public RichTextBody ();
Public Sub New ()
Applies to
RichTextBody(OpenXmlElement[])
Initializes a new instance of the RichTextBody class with the specified child elements.
public RichTextBody (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.RichTextBody : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.RichTextBody
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
RichTextBody(IEnumerable<OpenXmlElement>)
Initializes a new instance of the RichTextBody class with the specified child elements.
public RichTextBody (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.RichTextBody : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.RichTextBody
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
RichTextBody(String)
Initializes a new instance of the RichTextBody class from outer XML.
public RichTextBody (string outerXml);
new DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.RichTextBody : string -> DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.RichTextBody
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.