FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : GetStyleInfo Method |
'Declaration Public Overridable Function GetStyleInfo( _ ByVal row As Integer, _ ByVal column As Integer _ ) As StyleInfo
To set the style for a cell, use the SetStyleInfo method.
FarPoint.Web.Spread.SheetView sv;
FarPoint.Web.Spread.Model.StyleInfo si;
sv = FpSpread1.ActiveSheetView;
si = sv.GetStyleInfo(0, 0)
Response.Write("The border color for the style is " + si.Border.BorderColor.ToString())
Dim sv As FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView Dim si As FarPoint.Web.Spread.StyleInfo si = sv.GetStyleInfo(0, 0) Response.Write("The border color for the style is " & si.Border.BorderColor.ToString())
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional
SheetView Class
SheetView Members
StyleInfo Class
SetStyleInfo Method