LinearGradientFill.Angle Property

Angle.Represents the attribte in schema: ang

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

Syntax

'Declaration
<SchemaAttrAttribute(, "ang")> _
Public Property Angle As Int32Value
    Get
    Set
'Usage
Dim instance As LinearGradientFill
Dim value As Int32Value

value = instance.Angle

instance.Angle = value
[SchemaAttrAttribute(, "ang")]
public Int32Value Angle { 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 direction of color change for the gradient. To define this angle, let its value be x measured clockwise. Then ( -sin x, cos x ) is a vector parallel to the line of constant color in the gradient fill.

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

See Also

Reference

LinearGradientFill Class

LinearGradientFill Members

DocumentFormat.OpenXml.Drawing Namespace