Documentazione HotXLS

Proprietà ShrinkToFit

Determina se il testo si riduce automaticamente per adattarsi alla larghezza della colonna disponibile. Lettura/scrittura Boolean

Sintassi

property ShrinkToFit: Boolean;

Esempio

This example sets ShrinkToFit property for the cells B5:F30 on sheet one

Workbook.Sheets[1].Range['B5','F30'].ShrinkToFit := true;