Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / GeneralCellType Class / GeneralCellType Constructor
Example


In This Topic
    GeneralCellType Constructor
    In This Topic
    Creates a new general (default) cell with default settings.
    Syntax
    'Declaration
     
    Public Function New()
    'Usage
     
    Dim instance As New GeneralCellType()
    public GeneralCellType()
    Example
    This example creates a general cell.
    FarPoint.Win.Spread.CellType.GeneralCellType testcell = new FarPoint.Win.Spread.CellType.GeneralCellType();
    testcell.ShrinkToFit = true;            
    fpSpread1.Sheets[0].Cells[0, 0].CellType = testcell;
    Dim testcell As New FarPoint.Win.Spread.CellType.GeneralCellType()
    testcell.ShrinkToFit = True            
    FpSpread1.Sheets(0).Cells(0, 0).CellType = testcell
    See Also