CellValueFormatStrategy enumeration

CellValueFormatStrategy enumeration

Specifies how to apply style for the value of the cell.

The CellValueFormatStrategy type exposes the following members:

Fields

FieldDescription
NONENot formatted.
CELL_STYLEOnly formatted with the cell’s original style.
DISPLAY_STYLEFormatted with the cell’s displayed style.
DISPLAY_STRINGGets the displayed string shown in ms excel.
The main difference from CellValueFormatStrategy.DISPLAY_STYLE is this option also considers the effect of column width.
If the column width is too small to show the formatted string completely,
"#" may be shown, just like what ms excel does.

See Also