Freigeben über


ColorScale-Klasse

Color Scale.When the object is serialized out as xml, its qualified name is x:colorScale.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.ColorScale

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • ConditionalFormatValueObject <x:cfvo>

  • Color <x:color>

[ISO/IEC 29500-1 1. Ausgabe]

18.3.1.16 colorScale (Color Scale)

Describes a gradated color scale in this conditional formatting rule.

[Example:

<colorScale>
<cfvo type="min" val="0"/>
<cfvo type="max" val="0"/>
<color theme="5"/>
<color rgb="FFFFEF9C"/>
</colorScale>

end example]

Parent Elements

cfRule (§18.3.1.10)

Child Elements

Subclause

cfvo (Conditional Format Value Object)

§18.3.1.11

color (Data Bar Color)

§18.3.1.15

[Note: The W3C XML Schema definition of this element's content model (CT_ColorScale) is located in §A.2. 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

ColorScale-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace