FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス > GetStyleInfo メソッド : GetStyleInfo(Int32,Int32) メソッド |
'Declaration Public Overloads Overridable Function GetStyleInfo( _ ByVal row As Integer, _ ByVal column As Integer _ ) As StyleInfo
FarPoint.Win.Spread.SheetView sv;
FarPoint.Win.Spread.StyleInfo si;
FarPoint.Win.Spread.StyleInfo si2;
si.BackColor = Color.LightBlue;
sv = fpSpread1.ActiveSheet;
sv.SetStyleInfo(0, 0, si);
si2 = fpSpread1.ActiveSheet.GetStyleInfo(0, 0);
MessageBox.Show("The backcolor of the style info is " + si2.BackColor.ToString());
Dim sv As FarPoint.Win.Spread.SheetView Dim si As New FarPoint.Win.Spread.StyleInfo Dim si2 As FarPoint.Win.Spread.StyleInfo si.BackColor = Color.LightBlue sv = FpSpread1.ActiveSheet sv.SetStyleInfo(0, 0, si) si2 = FpSpread1.ActiveSheet.GetStyleInfo(0, 0) MessageBox.Show("The backcolor of the style info is " & si2.BackColor.ToString())