[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CsvSaveOptions.EscapeFormulaLikeValues

EscapeFormulaLikeValues Property

EscapeFormulaLikeValues

Gets or sets whether CSV values that begin with formula-like characters are escaped during export.

When this property is set to true, values that start with =, +, -, @, their full-width variants, tab, carriage return, or line feed are written with a leading apostrophe. The default value is false.

Declaration
public bool EscapeFormulaLikeValues { get; set; }
Public Property EscapeFormulaLikeValues As Boolean
Examples
CsvSaveOptions options = new CsvSaveOptions();
options.EscapeFormulaLikeValues = true;
bool escape = options.EscapeFormulaLikeValues;
workbook.Save("path/to/output.csv", options);