Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / SheetView Constructor
Example


In This Topic
    SheetView Constructor
    In This Topic
    Creates a sheet (SheetView object).
    Overload List
    OverloadDescription
    Creates a sheet (SheetView object).  
    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;
    See Also