DisplayFormat.ShrinkToFit Property
Gets a value that indicates if Microsoft Excel automatically shrinks text to fit in the available column width of the associated Range object as it is displayed in the current user interface.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property ShrinkToFit As Object
Get
'Usage
Dim instance As DisplayFormat
Dim value As Object
value = instance.ShrinkToFit
Object ShrinkToFit { get; }
Property Value
Type: System.Object
Indicates if Microsoft Excel automatically shrinks text to fit in the available column width of the associated Range object as it is displayed in the current user interface.
Remarks
Read-only.
Returns true if text automatically shrinks to fit in the available column width.