Share via


Dark2Color-Klasse

Dark 2.When the object is serialized out as xml, its qualified name is a:dk2.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Color2Type
        DocumentFormat.OpenXml.Drawing.Dark2Color

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

Syntax

'Declaration
Public Class Dark2Color _
    Inherits Color2Type
'Usage
Dim instance As Dark2Color
public class Dark2Color : Color2Type

Hinweise

The following table lists the possible child types:

  • RgbColorModelPercentage <a:scrgbClr>

  • RgbColorModelHex <a:srgbClr>

  • HslColor <a:hslClr>

  • SystemColor <a:sysClr>

  • PresetColor <a:prstClr>

[ISO/IEC 29500-1 1. Ausgabe]

20.1.4.1.10 dk2 (Dark 2)

This element defines a color that happens to be the dark 2 color. The set of twelve colors come together to form the color scheme for a theme.

[Example: Consider the following example of a set of colors that form a color scheme:

DocumentFormat.OpenXml.Drawing.Dark2Color-image001

end example]

Parent Elements

clrScheme (§20.1.6.2)

Child Elements

Subclause

hslClr (Hue, Saturation, Luminance Color Model)

§20.1.2.3.13

prstClr (Preset Color)

§20.1.2.3.22

schemeClr (Scheme Color)

§20.1.2.3.29

scrgbClr (RGB Color Model - Percentage Variant)

§20.1.2.3.30

srgbClr (RGB Color Model - Hex Variant)

§20.1.2.3.32

sysClr (System Color)

§20.1.2.3.33

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Dark2Color-Member

DocumentFormat.OpenXml.Drawing-Namespace