Share via


HueOffset.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 HueOffset
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 actual angular value of the shift. The result of the shift must be between 0 and 360 degrees. Shifts resulting in angular values less than 0 will be treated as 0. Shifts resulting in angular values greater than 360 will be treated as 360.

The following increases the hue angular value by 10 degrees.

<a:solidFill>
  <a:hslClr hue="0" sat="100000" lum="50000"/>
  <a:hueOff val="600000"/>
</a:solidFill>

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

See Also

Reference

HueOffset Class

HueOffset Members

DocumentFormat.OpenXml.Drawing Namespace