Share via


SchemeColor.Val Property

Value.Represents the attribte in schema: val

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of SchemeColorValues)
    Get
    Set
'Usage
Dim instance As SchemeColor
Dim value As EnumValue(Of SchemeColorValues)

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public EnumValue<SchemeColorValues> Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<SchemeColorValues>
Returns EnumValue<T>.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the desired scheme.

The following represents a color bound to the "lt1" theme color:

<a:solidFill>
  <a:schemeClr val="lt1"/>
</a:solidFill>

The possible values for this attribute are defined by the ST_SchemeColorVal simple type.

See Also

Reference

SchemeColor Class

SchemeColor Members

DocumentFormat.OpenXml.Drawing Namespace