Поделиться через


Saturation Class

Saturation.When the object is serialized out as xml, its qualified name is a:sat.

Inheritance Hierarchy

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

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

Syntax

'Декларация
Public Class Saturation _
    Inherits PercentageType
'Применение
Dim instance As Saturation
public class Saturation : PercentageType

Remarks

[ISO/IEC 29500-1 редакция 1]

20.1.2.3.26 sat (Saturation)

This element specifies the input color with the specified saturation, but with its hue and luminance unchanged. Typically saturation values fall in the range [0%, 100%].[Example:

The following two solid fills are equivalent:

<a:solidFill>
<a:hslClr hue="14400000" sat="100000" lum="50000">
</a:solidFill>
<a:solidFill>
<a:hslClr hue="14400000" sat="0" lum="50000">
<a:sat val="100000"/>
<a:hslClr/>
</a:solidFill>

end example]

Parent Elements

hslClr (§20.1.2.3.13); prstClr (§20.1.2.3.22); schemeClr (§20.1.2.3.29); scrgbClr (§20.1.2.3.30); srgbClr (§20.1.2.3.32); sysClr (§20.1.2.3.33)

Attributes

Description

val (Value)

Specifies the value of the blue component. The assigned value is specified as a percentage with 0% indicating minimal blue and 100% indicating maximum blue.

[Example: The following manipulates the fill from having RGB value RRGGBB = (00, FF, 00) to value RRGGBB= (00, FF, FF)

<a:solidFill>
<a:srgbClr val="00FF00">
<a:blue val="100.000%"/>
</a:srgbClr>
</a:solidFill>

end example]

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

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

© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.

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

Saturation Members

DocumentFormat.OpenXml.Drawing Namespace