ColorValue Constructors 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| ColorValue() | Initializes a new instance of the ColorValue class. | 
| ColorValue(OpenXmlElement[]) | Initializes a new instance of the ColorValue class with the specified child elements. | 
| ColorValue(IEnumerable<OpenXmlElement>) | Initializes a new instance of the ColorValue class with the specified child elements. | 
| ColorValue(String) | Initializes a new instance of the ColorValue class from outer XML. | 
ColorValue()
Initializes a new instance of the ColorValue class.
public ColorValue();Public Sub New ()Applies to
ColorValue(OpenXmlElement[])
Initializes a new instance of the ColorValue class with the specified child elements.
public ColorValue(params DocumentFormat.OpenXml.OpenXmlElement[] childElements);new DocumentFormat.OpenXml.Presentation.ColorValue : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Presentation.ColorValuePublic Sub New (ParamArray childElements As OpenXmlElement())Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
ColorValue(IEnumerable<OpenXmlElement>)
Initializes a new instance of the ColorValue class with the specified child elements.
public ColorValue(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);new DocumentFormat.OpenXml.Presentation.ColorValue : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Presentation.ColorValuePublic Sub New (childElements As IEnumerable(Of OpenXmlElement))Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
ColorValue(String)
Initializes a new instance of the ColorValue class from outer XML.
public ColorValue(string outerXml);new DocumentFormat.OpenXml.Presentation.ColorValue : string -> DocumentFormat.OpenXml.Presentation.ColorValuePublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.