文檔金喜正規買球>>Spread Studio for .NET使用教程>>Spread Studio for .NET使用教程:創建單元格系列
Spread Studio for .NET使用教程:創建單元格系列
用戶可以使用Spread創建單元格系列,同時對這些單元格屬性和行為進行定義。這個系列范圍可以是任何單元格。
》》》免費下載Spread Studio for .NET最新版
使用代碼:
定義一個單元格系列,并對這一系列的Cell單元格對象設置Note對象。
示例:
這個示例代碼用于設置單元格系列的Note屬性。
C#
FarPoint.Win.Spread.Cell range1; range1 = fpSpread1.ActiveSheet.Cells[1, 1, 3, 3]; range1.Value = "Value Here"; range1.Note = "This is the note that describes the value."; VB
Dim range1 As FarPoint.Win.Spread.Cell range1 = fpSpread1.ActiveSheet.Cells(1, 1, 3, 3) range1.Value = "Value Here" range1.Note = "This is the note that describes the value."
使用Spread設計器
在Spread Designer的Cell,Column,或者Row編輯器中,只需選中你想要放到系列中的單元格,一旦選中,你所選擇的屬性設置就會應用到整個單元格系列。