다음을 통해 공유


Style Constructors

Definition

Overloads

Style()

Initializes a new instance of the Style class.

Style(OpenXmlElement[])

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

Style(IEnumerable<OpenXmlElement>)

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

Style(String)

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

Style()

Initializes a new instance of the Style class.

public Style ();
Public Sub New ()

Applies to

Style(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Style(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Style(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to