Spread Windows Forms 11.0 Product Documentation
CharacterSet Enumeration
Example Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace : CharacterSet Enumeration
Specifies the character set for valid cell contents.
Syntax
'Declaration
 
Public Enum CharacterSet 
   Inherits System.Enum
'Usage
 
Dim instance As CharacterSet
public enum CharacterSet : System.Enum 
Members
MemberDescription
AlphaAccepts letters (alphabetic characters) only
AlphaNumericAccepts letters (alphabetic characters) or numbers (numeric characters) only
AsciiAccepts any of the ASCII characters
NumericAccepts numbers (numeric characters) only
Example
This example creates a text cell.
FarPoint.Win.Spread.CellType.TextCellType txtct = new FarPoint.Win.Spread.CellType.TextCellType();
txtct.CharacterSet = FarPoint.Win.Spread.CellType.CharacterSet.AlphaNumeric;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = txtct;
Dim txtct As New FarPoint.Win.Spread.CellType.TextCellType()
txtct.CharacterSet = FarPoint.Win.Spread.CellType.CharacterSet.AlphaNumeric
FpSpread1.ActiveSheet.Cells(0, 0).CellType = txtct
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.CellType.CharacterSet

See Also

Reference

FarPoint.Win.Spread.CellType Namespace
CharacterSet Property (ComboBoxCellType Class)
CharacterSet Property (TextCellType Class)
CharacterSet Property (GeneralEditor Class)

User-Task Documentation

Setting a Text Cell