Compartir a través de


AlphaOffset Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.AlphaOffset

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

Syntax

'Declaración
Public Class AlphaOffset _
    Inherits OpenXmlLeafElement
'Uso
Dim instance As AlphaOffset
public class AlphaOffset : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1ª edición]

20.1.2.3.3 alphaOff (Alpha Offset)

This element specifies a more or less opaque version of its input color. Increases or decreases the input alpha percentage by the specified percentage offset. A 10% alpha offset increases a 50% opacity to 60%. A -10% alpha offset decreases a 50% opacity to 40%. The transformed alpha values are limited to a range of 0 to 100%. A 10% alpha offset increase to a 100% opaque object still results in 100% opacity.

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 offset increase or decrease relative to the input color. Increases never increase the opacity beyond 100%, decreases never decrease the opacity below 0%.

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

<a:solidFill>
<a:srgbClr val="00FF00">
<a:alphaOff val="-10.000%"/>
</a:srgbClr>
</a:solidFill>

end example]

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

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

© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

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

AlphaOffset Members

DocumentFormat.OpenXml.Drawing Namespace