共用方式為


XmlMappedRange.ShrinkToFit Property

Gets or sets a value that indicates whether text automatically shrinks to fit in the available column width.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Property ShrinkToFit As Object
Object ShrinkToFit { get; set; }

Property Value

Type: System.Object
true if text automatically shrinks to fit in the available column width; otherwise, false.

.NET Framework Security

See Also

Reference

XmlMappedRange Interface

Microsoft.Office.Tools.Excel Namespace