Spread for ASP.NET 7.0 Product Documentation
SheetView Constructor
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : SheetView Constructor


Glossary Item Box

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.
Visual BasicCopy Code
DimsvAsFarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.ActiveColumn=1
sv.ActiveRow=2
sv.Cells(sv.ActiveRow,sv.ActiveColumn).BackColor=Color.Yellow
C#Copy Code
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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.