FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > GradientHeaderRenderer クラス > GradientHeaderRenderer コンストラクタ : GradientHeaderRenderer コンストラクタ() |
'Declaration Public Function New()
'使用法 Dim instance As New GradientHeaderRenderer()
public GradientHeaderRenderer()
FarPoint.Win.Spread.CellType.GradientHeaderRenderer gc = new FarPoint.Win.Spread.CellType.GradientHeaderRenderer();
gc.BottomColor = Color.Orange;
gc.TopColor = Color.Red;
gc.Mode = Drawing2D.LinearGradientMode.ForwardDiagonal;
fpSpread1.ActiveSheet.ColumnHeader.Rows[0].Renderer = gc
Dim gc As New FarPoint.Win.Spread.CellType.GradientHeaderRenderer gc.BottomColor = Color.Orange gc.TopColor = Color.Red gc.Mode = Drawing2D.LinearGradientMode.ForwardDiagonal FpSpread1.ActiveSheet.ColumnHeader.Rows(0).Renderer = gc