Spread for ASP.NET 9.0 Product Documentation
SheetView Constructor
Example 


Creates a sheet (SheetView object).
Overload List
OverloadDescription
SheetView Constructor()Creates a sheet (SheetView object).  
SheetView Constructor(NamedStyleCollection)Creates a sheet (SheetView object) with the specified style collection.  
Example
This example creates a SheetView object and assigns it to the active sheet of the spreadsheet and changes the background color of the active cell.
DimsvAsFarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.ActiveColumn=1
sv.ActiveRow=2
sv.Cells(sv.ActiveRow,sv.ActiveColumn).BackColor=Color.Yellow
FarPoint.Web.Spread.SheetViewsv=FpSpread1.ActiveSheetView;
sv.ActiveColumn=1;
sv.ActiveRow=2;
sv.Cells[sv.ActiveRow,sv.ActiveColumn].BackColor=Color.Yellow;
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members
Sheets Property

 

 


Copyright © GrapeCity, inc. All rights reserved.