Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / PercentCellType Class / PercentCellType Constructor / PercentCellType Constructor()
Example


In This Topic
    PercentCellType Constructor()
    In This Topic
    Creates a new percent data type cell.
    Syntax
    'Declaration
     
    Public Function New()
    'Usage
     
    Dim instance As New PercentCellType()
    public PercentCellType()
    Example
    This example creates an instance of the PercentCellType class.
    FarPoint.Web.Spread.PercentCellType p = new FarPoint.Web.Spread.PercentCellType();
    FpSpread1.ActiveSheetView.Cells[0, 0].CellType = p;
    
    Dim p As New FarPoint.Web.Spread.PercentCellType
    FpSpread1.ActiveSheetView.Cells(0, 0).CellType = p
    See Also