Documents for Word, .NET Edition
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / GradientFill Class / Angle Property

In This Topic
    Angle Property (GradientFill)
    In This Topic
    Gets or sets the direction of color change for the gradient in degrees 0..360.

    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.

    This property has effect only when the Type property is GradientType.Linear.

    Syntax
    'Declaration
     
    Public Property Angle As System.Single
    public System.float Angle {get; set;}
    See Also