Spread for ASP.NET 8.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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members
Sheets Property

 

 


Copyright © GrapeCity, inc. All rights reserved.