FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GradientSelectionRenderer Class > GradientSelectionRenderer Constructor : GradientSelectionRenderer Constructor(Color,Color,LinearGradientMode,Int32) |
'Declaration Public Function New( _ ByVal color1 As Color, _ ByVal color2 As Color, _ ByVal mode As LinearGradientMode, _ ByVal opacity As Integer _ )
'Usage Dim color1 As Color Dim color2 As Color Dim mode As LinearGradientMode Dim opacity As Integer Dim instance As New GradientSelectionRenderer(color1, color2, mode, opacity)
FarPoint.Win.Spread.GradientSelectionRenderer gsr = new FarPoint.Win.Spread.GradientSelectionRenderer(Color.Green, Color.LightGreen,
Drawing2D.LinearGradientMode.BackwardDiagonal, 50);
fpSpread1.SelectionRenderer = gsr;
Dim gsr As New FarPoint.Win.Spread.GradientSelectionRenderer(Color.Green, Color.LightGreen, Drawing2D.LinearGradientMode.BackwardDiagonal, 50) FpSpread1.SelectionRenderer = gsr
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10