| Visual Basic (Declaration) | |
|---|---|
Public Enum DateTimeEditorValue Inherits System.Enum | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As DateTimeEditorValue | |
| C# | |
|---|---|
public enum DateTimeEditorValue : System.Enum | |
| Member | Description |
|---|---|
| DateSerial | [2] Writes the serial value (double-precision, floating-point) of the cell date to the model |
| DateTime | [1] Writes the DateTime object of the cell to the model |
| String | [0] Writes the text value of the cell to the model |
This example writes the serial value to the model.
| C# | Copy Code |
|---|---|
FarPoint.Win.Spread.CellType.DateTimeCellType dt = new FarPoint.Win.Spread.CellType.DateTimeCellType();
dt.EditorValue = FarPoint.Win.Spread.CellType.DateTimeEditorValue.DateSerial;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = dt;
| |
| Visual Basic | Copy Code |
|---|---|
Dim dt As New FarPoint.Win.Spread.CellType.DateTimeCellType dt.EditorValue = FarPoint.Win.Spread.CellType.DateTimeEditorValue.DateSerial FpSpread1.ActiveSheet.Cells(0, 0).CellType = dt | |
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.CellType.DateTimeEditorValue
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
Reference
FarPoint.Win.Spread.CellType NamespaceEditorValue Property (DateTimeCellType Class)