Compartir a través de


TextFrame2.AutoSize Property

Returns or sets a value that indicates whether the size of the specified shape is changed automatically to fit text within its boundaries. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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

Remarks

The value of the AutoSize property can be one of the following MsoAutoSize constants:

msoAutoSizeMixed

msoAutoSizeNone

msoAutoSizeShapeToFitText

msoAutoSizeTextToFitShape

See Also

Reference

TextFrame2 Interface

TextFrame2 Members

Microsoft.Office.Interop.PowerPoint Namespace