Dim rowList As Dictionary(Of Integer, FarPoint.Win.Spread.Row) = New Dictionary(Of Integer, FarPoint.Win.Spread.Row)()
rowList.Add(0, vaSpread1.ActiveSheet.Rows.Get(0))
vaSpread1.ActiveSheet.Rows.Get(0).BackColor = Color.Red
vaSpread1.ActiveSheet.Rows.Get(0).Height = 11
例子代码就是上面的那些,当我改变Spread第一行的背景色和高时,rowList里面的值就跟着一起变了。
上面我只是举了BackColor 和Height ,还有其他的类似一些属性需要改,比如celltype,Border等属性 |