FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > SliderCellType クラス : BackgroundImage プロパティ |
'Declaration Public Property BackgroundImage As Picture
'使用法 Dim instance As SliderCellType Dim value As Picture instance.BackgroundImage = value value = instance.BackgroundImage
public Picture BackgroundImage {get; set;}
次のサンプルコードは、スライダバー型セルを作成し、背景画像を設定します。
FarPoint.Win.Spread.CellType.SliderCellType slider = new FarPoint.Win.Spread.CellType.SliderCellType(); slider.BackgroundImage = new FarPoint.Win.Picture(Image.FromFile("..\\images\\fplogo.jpg")); fpSpread1.ActiveSheet.Cells[0, 0].CellType = slider;
Dim slider As New FarPoint.Win.Spread.CellType.SliderCellType() slider.BackgroundImage = New FarPoint.Win.Picture(Image.FromFile("..\images\fplogo.jpg")) FpSpread1.ActiveSheet.Cells(0, 0).CellType = slider