IsStringsPreserved Property (IWorksheet)
True if all values in the worksheet are preserved as strings. otherwise, False.
Syntax
'Declaration Property IsStringsPreserved As Boolean
'Usage Dim instance As IWorksheet Dim value As Boolean instance.IsStringsPreserved = value value = instance.IsStringsPreserved
bool IsStringsPreserved {get; set;}
Example
The following code illustrates if the values in the worksheet are preserved as strings.
IWorksheet worksheet = workbook.Worksheets[0]; worksheet.IsStringsPreserved = true; worksheet["A1"].Value = "10"; worksheet["A2"].Value = "Test"; worksheet["A3"].Value = "=SUM(1+1)";
AssemblyVersion
Syncfusion.XlsIO.Base: 16.4460.0.52
See Also