FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > GetStyleInfo Method : GetStyleInfo(Int32,Int32) Method |
'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())
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10