Share via


PresetColor Constructors

Definition

Overloads

PresetColor()

Initializes a new instance of the PresetColor class.

PresetColor(OpenXmlElement[])

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

PresetColor(IEnumerable<OpenXmlElement>)

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

PresetColor(String)

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

PresetColor()

Initializes a new instance of the PresetColor class.

public PresetColor ();
Public Sub New ()

Applies to

PresetColor(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

PresetColor(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

PresetColor(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to