AlphaOffset.Val Property

Value.Represents the attribte in schema: val

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

Syntax

'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As Int32Value
    Get
    Set
'Usage
Dim instance As AlphaOffset
Dim value As Int32Value

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public Int32Value Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Int32Value
Returns Int32Value.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the opacity as expressed by a percentage offset increase or decrease relative to the input color. Increases will never increase the opacity beyond 100%; decreases will never decrease the opacity below 0%.

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

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

The possible values for this attribute are defined by the ST_FixedPercentage simple type.

See Also

Reference

AlphaOffset Class

AlphaOffset Members

DocumentFormat.OpenXml.Drawing Namespace