Spread Windows Forms 12.0 Product Documentation
GeneralCellType Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > GeneralCellType Class > GeneralCellType Constructor : GeneralCellType Constructor()
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

Reference

GeneralCellType Class
GeneralCellType Members
Overload List