Spread ASP.NET 6.0 Product Documentation
SheetView Constructor
See Also  Example Send Feedback
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 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

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.