ColorSchemeMapping.Accent5 Property

Accent5 Theme Color Mapping.Represents the attribte in schema: w:accent5

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


<SchemaAttrAttribute(, "accent5")> _
Public Property Accent5 As EnumValue(Of ColorSchemeIndexValues)
Dim instance As ColorSchemeMapping
Dim value As EnumValue(Of ColorSchemeIndexValues)

value = instance.Accent5

instance.Accent5 = value
[SchemaAttrAttribute(, "accent5")]
public EnumValue<ColorSchemeIndexValues> Accent5 { get; set; }

Property Value

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


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

Specifies the theme color in the document's theme part which shall be used in place of this color when it is referenced by document content.

If this attribute is omitted, then the accent5 theme color shall be used.

Consider a WordprocessingML document that shall have references to the theme color accent5 mapped to the theme color accent1 as defined in the document's theme part. This requirement would be specified using the following WordprocessingML in the document settings:

<w:clrSchemeMapping w:accent5="accent1" />

The accent5 attribute has a value of accent1, specifying that uses of the theme color value accent5 shall be mapped to the theme color accent1.

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

See Also


ColorSchemeMapping Class

ColorSchemeMapping Members

DocumentFormat.OpenXml.Wordprocessing Namespace