Spread Windows Forms 6.0 Product Documentation
OverflowCharacter Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > CurrencyCellType Class : OverflowCharacter Property


Glossary Item Box

Gets or sets the character for replacing the value if it does not fit the width of the display.

Syntax

Visual Basic (Declaration) 
Public Property OverflowCharacter As Char
Visual Basic (Usage)Copy Code
Dim instance As CurrencyCellType
Dim value As Char
 
instance.OverflowCharacter = value
 
value = instance.OverflowCharacter
C# 
public char OverflowCharacter {get; set;}

Property Value

Character containing the character for overflow

Example

This example specifies the character to display when the value is greater than the width of the column.
C#Copy Code
FarPoint.Win.Spread.CellType.CurrencyCellType curr = new FarPoint.Win.Spread.CellType.CurrencyCellType();
curr.OverflowCharacter = Char.ToLower("x");
fpSpread1.ActiveSheet.Cells[0, 0].CellType = curr;
fpSpread1.ActiveSheet.Cells[0, 0].Value = 5123465.45;
Visual BasicCopy Code
Dim curr As New FarPoint.Win.Spread.CellType.CurrencyCellType
curr.OverflowCharacter = Char.ToLower("x")
FpSpread1.ActiveSheet.Cells(0, 0).CellType = curr
FpSpread1.ActiveSheet.Cells(0, 0).Value = 5123465.45

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.