Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / LinearGradientBrush Class / LinearGradientBrush Constructor / LinearGradientBrush Constructor(Color,Color)
The start gradient color.
The end gradient color.

In This Topic
    LinearGradientBrush Constructor(Color,Color)
    In This Topic
    Initializes a new instance of the LinearGradientBrush class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal startColor As System.Drawing.Color, _
       ByVal endColor As System.Drawing.Color _
    )
    public LinearGradientBrush( 
       System.Drawing.Color startColor,
       System.Drawing.Color endColor
    )

    Parameters

    startColor
    The start gradient color.
    endColor
    The end gradient color.
    See Also