Property DisplayText
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
DisplayText
Gets the text Excel shows for the cell: its value through its number format, in the workbook's date system (XlsxNumberFormatter). Empty for an empty cell.
public string DisplayText { get; }
Property Value
Remarks
The text is the one a column wide enough for anything shows, in the fixed default
culture: the general format at its eleven characters, no * fill, month names in
English. For another culture or for a column's width, call
Format(XlsxCellValue, string?, XlsxFormatContext?) with the cell's Value and
NumberFormat. A formula cell shows the result the file stores.