共用方式為


ColorsDefinition Constructors

Definition

Overloads

ColorsDefinition()

Initializes a new instance of the ColorsDefinition class.

ColorsDefinition(OpenXmlElement[])

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

ColorsDefinition(IEnumerable<OpenXmlElement>)

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

ColorsDefinition(String)

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

ColorsDefinition()

Initializes a new instance of the ColorsDefinition class.

public ColorsDefinition ();
Public Sub New ()

Applies to

ColorsDefinition(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ColorsDefinition(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ColorsDefinition(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to