Spread Windows Forms 12.0 Product Documentation
OverflowCharacter Property (NumberCellType)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > NumberCellType Class : OverflowCharacter Property
Gets or sets the character to use to replace the value if it does not fit the width of the display.
Syntax
'Declaration
 
Public Property OverflowCharacter As Char
'Usage
 
Dim instance As NumberCellType
Dim value As Char
 
instance.OverflowCharacter = value
 
value = instance.OverflowCharacter
public char OverflowCharacter {get; set;}

Property Value

Character containing the character for overflow
Example
This example sets the character to use to replace the value if it does not fit the width of the display of a numeric format cell.
FarPoint.Win.Spread.CellType.NumberCellType num = new FarPoint.Win.Spread.CellType.NumberCellType();
num.OverflowCharacter = Char.ToLower("x")'
fpSpread1.ActiveSheet.Cells[0, 0].CellType = num'
fpSpread1.ActiveSheet.Cells[0, 0].Value = 5123465.45;
Dim num As New FarPoint.Win.Spread.CellType.NumberCellType
num.OverflowCharacter = Char.ToLower("x")
FpSpread1.ActiveSheet.Cells(0, 0).CellType = num
FpSpread1.ActiveSheet.Cells(0, 0).Value = 5123465.45
See Also

Reference

NumberCellType Class
NumberCellType Members