测试了一下,这样用
Dim cs1 As C1.Win.C1FlexGrid.CellStyle = Tables("表B").grid.Styles.Add("cs1")
cs1.BackgroundImage = getimage("d:\test.png")
cs1.Display = C1.Win.C1FlexGrid.DisplayEnum.ImageOnly
cs1.BackgroundImageLayout = C1.Win.C1FlexGrid.ImageAlignEnum.Stretch
Tables("表B").Grid.SetCellStyle(1,1,cs1)
http://helpcentral.componentone.com/nethelp/c1flexgrid/index.html#!XMLDocuments/C1FlexRef/html/AllMembers_T_C1_Win_C1FlexGrid_CellStyle.htm
[此贴子已经被作者于2014-3-7 19:38:26编辑过]