FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > CheckBoxCellType クラス : BackgroundImage プロパティ |
'Declaration Public Property BackgroundImage As Picture
'使用法 Dim instance As CheckBoxCellType Dim value As Picture instance.BackgroundImage = value value = instance.BackgroundImage
public Picture BackgroundImage {get; set;}
FarPoint.Win.Spread.CellType.CheckBoxCellType ckbxcell = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Picture p = new FarPoint.Win.Picture(Image.FromFile("..\\images\\background.gif")); ckbxcell.BackgroundImage = p; ckbxcell.Caption = "CheckBox"; fpSpread1.ActiveSheet.Cells[0, 0, 1, 1].CellType = ckbxcell;
Dim ckbxcell As New FarPoint.Win.Spread.CellType.CheckBoxCellType() Dim p As New FarPoint.Win.Picture(Image.FromFile("..\images\background.gif")) ckbxcell.BackgroundImage = p ckbxcell.Caption = "CheckBox" FpSpread1.ActiveSheet.Cells(0, 0, 1, 1).CellType = ckbxcell