Skip to main content

TdxSpreadSheetCellStyle.ShrinkToFit Property

Specifies if a cell value shrinks to fit into the cell’s boundaries horizontally.

Declaration

property ShrinkToFit: Boolean read; write;

Property Value

Type
Boolean

Remarks

Set this property to True to disable word wrap and automatically reduce the display size of a value that does not fit into a cell. This setting only visually shrinks a value and does affect the cell style’s font settings accessible via the Font property. Set the ShrinkToFit property back to False to restore the cell value’s original appearance.

The default ShrinkToFit property value is False.

See Also