Saturation class

Office 2013 and later

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

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Drawing.Saturation

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

[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class Saturation : OpenXmlLeafElement

2.5.28 CT_PictureEffectSaturation

Target namespace: http://schemas.microsoft.com/office/drawing/2010/main

Referenced by: CT_PictureEffect

A complex type that specifies a saturation effect applied to a picture.

The following figure demonstrates the effect applied to a picture with saturation values of zero percent, 50 percent, 100 percent, 200 percent, and 400 percent, respectively.

Figure 27: Effect of changes to saturation

Attributes:

sat: An ST_SaturationAmount attribute that specifies the amount of saturation applied to a picture.

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

<xsd:complexType name="CT_PictureEffectSaturation">

<xsd:attribute name="sat" type="ST_SaturationAmount" use="optional" default="100"/>

</xsd:complexType>

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.
Show: