Partager via


ColorMapOverride Class

Color Map Override.When the object is serialized out as xml, its qualified name is c:clrMapOvr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.ColorMapOverride

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class ColorMapOverride _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ColorMapOverride
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class ColorMapOverride : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.ExtensionList <a:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.30 clrMapOvr (Color Map Override)

This element represents color mapping information. It is used to override the applications color mapping if the user has selected keep source formatting after a copy-paste.

Parent Elements

chartSpace (§21.2.2.29)

Child Elements

Subclause

extLst (Extension List)

§20.1.2.2.15

Attributes

Description

accent1 (Accent 1)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the accent 1 color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

accent2 (Accent 2)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the accent 2 color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

accent3 (Accent 3)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the accent 3 color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

accent4 (Accent 4)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the accent 4 color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

accent5 (Accent 5)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the accent 5 color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

accent6 (Accent 6)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the accent 6 color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

bg1 (Background 1)

Namespace: .../drawingml/2006/main

A color defined which is associated as the first background color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

bg2 (Background 2)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the second background color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

folHlink (Followed Hyperlink)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the color for a followed hyperlink.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

hlink (Hyperlink)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the color for a hyperlink.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

tx1 (Text 1)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the first text color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

tx2 (Text 2)

Namespace: .../drawingml/2006/main

Specifies a color defined which is associated as the second text color.

The possible values for this attribute are defined by the ST_ColorSchemeIndex simple type (§20.1.10.14).

[Note: The W3C XML Schema definition of this element’s content model (CT_ColorMapping) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ColorMapOverride Members

DocumentFormat.OpenXml.Drawing.Charts Namespace