GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace : LengthUnit Enumeration |
'Declaration Public Enum LengthUnit Inherits System.Enum
'Usage Dim instance As LengthUnit
public enum LengthUnit : System.Enum
Member | Description |
---|---|
Byte | Indicates the calculational unit is a byte when calculating the length of the string. |
Char | Indicates the calculational unit is a .Net character when calculating the length of the string. |
TextElement | Indicates the calculational unit is a TextElment when calculating the length of the string. |
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
inputcell1.MaxLengthUnit = GrapeCity.Win.Spread.InputMan.CellType.LengthUnit.Char;
inputcell1.MaxLength = 10;
fpSpread1.Sheets[0].Cells[1, 1].CellType = inputcell1;
Dim inputcell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell1.MaxLengthUnit = GrapeCity.Win.Spread.InputMan.CellType.LengthUnit.Char inputcell1.MaxLength = 10 FpSpread1.Sheets(0).Cells(1, 1).CellType = inputcell1
System.Object
System.ValueType
System.Enum
GrapeCity.Win.Spread.InputMan.CellType.LengthUnit
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8