ActiveReports 12
CreateLinearGradientBrush(PointFEx,PointFEx,ColorEx,ColorEx,ColorBlendEx) Method

GrapeCity.ActiveReports.Extensibility.v12 Assembly > GrapeCity.ActiveReports.Extensibility.Rendering.Drawing Namespace > IDrawingCanvas Interface > CreateLinearGradientBrush Method : CreateLinearGradientBrush(PointFEx,PointFEx,ColorEx,ColorEx,ColorBlendEx) Method
Start gradient point.
End gradient point.
Start gradient color.
End gradient color.
A color blend pattern for the gradient.
Initializes a new BrushEx linear gradient brush object.
Syntax
'Declaration
 
Overloads Function CreateLinearGradientBrush( _
   ByVal point1 As PointFEx, _
   ByVal point2 As PointFEx, _
   ByVal color1 As ColorEx, _
   ByVal color2 As ColorEx, _
   ByVal colorBlend As ColorBlendEx _
) As BrushEx
BrushEx CreateLinearGradientBrush( 
   PointFEx point1,
   PointFEx point2,
   ColorEx color1,
   ColorEx color2,
   ColorBlendEx colorBlend
)

Parameters

point1
Start gradient point.
point2
End gradient point.
color1
Start gradient color.
color2
End gradient color.
colorBlend
A color blend pattern for the gradient.
See Also

Reference

IDrawingCanvas Interface
IDrawingCanvas Members
Overload List