Gets or sets the parsed formatting string for the cell.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ParseFormatString As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Cell
Dim value As String
instance.ParseFormatString = value
value = instance.ParseFormatString |
C# | |
---|
public string ParseFormatString {get; set;} |
Property Value
String containing the parsed formatting string
Remarks
Example
This example shows how to parse cell data.
C# | Copy Code |
---|
FarPoint.Win.Spread.CellType.GeneralCellType gct = new FarPoint.Win.Spread.CellType.GeneralCellType();
fpSpread1.ActiveSheet.Cells[0, 0].CellType = gct;
System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo("en-us", true);
fpSpread1.ActiveSheet.Cells[0, 0].Value = System.DateTime.Now;
fpSpread1.ActiveSheet.Cells[0, 0].ParseFormatString = ci.DateTimeFormat.ToString();
|
Visual Basic | Copy Code |
---|
Dim gct As New FarPoint.Win.Spread.CellType.GeneralCellType
Dim ci As New System.Globalization.CultureInfo("en-us", True)
FpSpread1.ActiveSheet.Cells(0, 0).CellType = gct
FpSpread1.ActiveSheet.Cells(0, 0).Value = Now
FpSpread1.ActiveSheet.Cells(0, 0).ParseFormatString = ci.DateTimeFormat.ToString() |
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