다음을 통해 공유


Paragraph Constructors

Definition

Overloads

Paragraph()

Initializes a new instance of the Paragraph class.

Paragraph(OpenXmlElement[])

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

Paragraph(IEnumerable<OpenXmlElement>)

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

Paragraph(String)

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

Paragraph()

Initializes a new instance of the Paragraph class.

public Paragraph ();
Public Sub New ()

Applies to

Paragraph(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Paragraph(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Paragraph(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to