Partager via


TextFrame2.AutoSize Property

The size of the specified object that changes automatically to fit text within its boundaries. Read/write.

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

Syntax

'Declaration
Property AutoSize As MsoAutoSize
    Get
    Set
'Usage
Dim instance As TextFrame2
Dim value As MsoAutoSize

value = instance.AutoSize

instance.AutoSize = value
MsoAutoSize AutoSize { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoAutoSize
MsoAutoSize

See Also

Reference

TextFrame2 Interface

TextFrame2 Members

Microsoft.Office.Interop.Excel Namespace