FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > ProgressCellType クラス : GradientMode プロパティ |
'Declaration Public Property GradientMode As LinearGradientMode
'使用法 Dim instance As ProgressCellType Dim value As LinearGradientMode instance.GradientMode = value value = instance.GradientMode
public LinearGradientMode GradientMode {get; set;}
FarPoint.Win.Spread.CellType.ProgressCellType p = new FarPoint.Win.Spread.CellType.ProgressCellType();
p.FillColor = Color.Coral;
p.FillColor2 = Color.Beige;
p.Style = FarPoint.Win.ProgressStyle.Gradient;
p.GradientMode = Drawing2D.LinearGradientMode.Vertical;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = p;
fpSpread1.ActiveSheet.Cells[0, 0].Value = 50;
FarPoint.Win.Spread.CellType.ProgressCellType p = new FarPoint.Win.Spread.CellType.ProgressCellType();
p.FillColor = Color.Coral;
p.FillColor2 = Color.Beige;
p.Style = FarPoint.Win.ProgressStyle.Gradient;
p.GradientMode = Drawing2D.LinearGradientMode.Vertical;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = p;
fpSpread1.ActiveSheet.Cells[0, 0].Value = 50;