共用方式為


Highlight Constructors

Definition

Overloads

Highlight()

Initializes a new instance of the Highlight class.

Highlight(OpenXmlElement[])

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

Highlight(IEnumerable<OpenXmlElement>)

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

Highlight(String)

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

Highlight()

Initializes a new instance of the Highlight class.

public Highlight ();
Public Sub New ()

Applies to

Highlight(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Highlight(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Highlight(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to