Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / CharacterSet Enumeration
Example Example


In This Topic
    CharacterSet Enumeration
    In This Topic
    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
    Alpha Accepts letters (alphabetic characters) only
    AlphaNumeric Accepts letters (alphabetic characters) or numbers (numeric characters) only
    Ascii Accepts any of the ASCII characters
    Numeric Accepts 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