ExtraColorScheme Class

Extra Color Scheme.When the object is serialized out as xml, its qualified name is a:extraClrScheme.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.ExtraColorScheme

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

Syntax

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

Remarks

The following table lists the possible child types:

  • ColorScheme <a:clrScheme>

  • ColorMap <a:clrMap>

[ISO/IEC 29500-1 1st Edition]

20.1.6.4 extraClrScheme (Extra Color Scheme)

This element defines an auxiliary color scheme, which includes both a color scheme and color mapping. This is mainly used for backward compatibility concerns and roundtrips information required by earlier versions.

[Example: Consider the following example of an extra color scheme in use in DrawingML:

<extraClrScheme>
<clrScheme name="extraColorSchemeSample">
<dk1>
<sysClr val="windowText"/>
</dk1>
    <lt1>
<sysClr val="window"/>
</lt1>
    <dk2>
<srgbClr val="04617B"/>
</dk2>
    <lt2>
<srgbClr val="DBF5F9"/>
</lt2>
    <accent1>
<srgbClr val="0F6FC6"/>
</accent1>
    <accent2>
<srgbClr val="009DD9"/>
</accent2>
    <accent3>
<srgbClr val="0BD0D9"/>
</accent3>
    <accent4>
<srgbClr val="10CF9B"/>
</accent4>
    <accent5>
<srgbClr val="7CCA62"/>
</accent5>
    <accent6>
<srgbClr val="A5C249"/>
</accent6>
    <hlink>
<srgbClr val="FF9800"/>
</hlink>
    <folHlink>
<srgbClr val="F45511"/>
</folHlink>
  </clrScheme>
<clrMap bg1="lt1" tx1="dk1" bg2="lt2" tx2="dk2" accent1="accent1"
accent2="accent2" accent3="accent3" accent4="accent4" accent5="accent5"
accent6="accent6" hlink="hlink" folHlink="folHlink"/>
</extraClrScheme>

In this example, the extra color scheme contains a color scheme and a color map for that color scheme. end example]

Parent Elements

extraClrSchemeLst (§20.1.6.5)

Child Elements

Subclause

clrMap (Color Map)

§20.1.6.1

clrScheme (Color Scheme)

§20.1.6.2

[Note: The W3C XML Schema definition of this element’s content model (CT_ColorSchemeAndMapping) 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

ExtraColorScheme Members

DocumentFormat.OpenXml.Drawing Namespace