[]
Gets or sets the property which specifies whether cells will be drawn in a smaller font if needed to display the contents of the cell.
bool ShrinkToFit { get; set; }
Property ShrinkToFit As Boolean
| Type | Description |
|---|---|
| bool |
|
IRange range = worksheet.Range["A1"];
range.Value = "Long text";
range.ShrinkToFit = true;
bool shrinkToFit = range.ShrinkToFit;