PositivePercentageType.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 PositivePercentageType
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 relative to the input color.

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

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

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

See Also

Reference

PositivePercentageType Class

PositivePercentageType Members

DocumentFormat.OpenXml.Drawing Namespace