Share via


AlphaModulation Class

Alpha Modulation.When the object is serialized out as xml, its qualified name is a:alphaMod.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.PositivePercentageType
        DocumentFormat.OpenXml.Drawing.AlphaModulation

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

Syntax

'Declaration
Public Class AlphaModulation _
    Inherits PositivePercentageType
'Usage
Dim instance As AlphaModulation
public class AlphaModulation : PositivePercentageType

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.2.3.2 alphaMod (Alpha Modulation)

This element specifies a more or less opaque version of its input color. An alpha modulate never increases the alpha beyond 100%. A 200% alpha modulate makes a input color twice as opaque as before. A 50% alpha modulate makes a input color half as opaque as before.

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 opacity as expressed by a percentage relative to the input color.

[Example: The following represents a green solid fill which is 50% opaque

<a:solidFill>
<a:srgbClr val="00FF00">
<a:alphaMod val="50.000%"/>
</a:srgbClr>
</a:solidFill>

end example]

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

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

© ISO/IEC29500: 2008.

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

AlphaModulation Members

DocumentFormat.OpenXml.Drawing Namespace