Visual Basic (Declaration) | |
---|---|
Public Overridable Function GetStyleInfo( _ ByVal row As Integer, _ ByVal column As Integer _ ) As StyleInfo |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim row As Integer Dim column As Integer Dim value As StyleInfo value = instance.GetStyleInfo(row, column) |
Parameters
- row
- Row index of the cell
- column
- Column index of the cell
Return Value
StyleInfo object with the style information for the cellTo set the style for a cell, use the SetStyleInfo method.
This example returns the border color, one part of the style information, for the sheet.
C# | Copy Code |
---|---|
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())
|
Visual Basic | Copy Code |
---|---|
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
Reference
SheetView ClassSheetView Members
StyleInfo Class
SetStyleInfo Method