ColorTemperature class

Office 2013 and later

Defines the ColorTemperature Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is a14:colorTemperature.


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

public class ColorTemperature : OpenXmlLeafElement

2.5.27 CT_PictureEffectColorTemperature

Target namespace:

Referenced by: CT_PictureEffect

A complex type that specifies a color temperature effect applied to a picture.

The following figure demonstrates the effect applied to a picture with colorTemperature values of 3500, 4500, 6500, 8500, and 10500, respectively.

Figure 26: Effect of changes to colorTemperature


colorTemp: An ST_ColorTemperature attribute that specifies the color temperature of the light source in a picture.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_PictureEffectColorTemperature">

<xsd:attribute name="colorTemp" type="ST_ColorTemperature" use="optional" default="6500"/>


See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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