PositiveFixedPercentageType.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 PositiveFixedPercentageType
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 value.

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

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

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

See Also

Reference

PositiveFixedPercentageType Class

PositiveFixedPercentageType Members

DocumentFormat.OpenXml.Drawing Namespace