Compartir a través de


TextFrame.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 PpAutoSize
    Get
    Set
'Usage
Dim instance As TextFrame
Dim value As PpAutoSize

value = instance.AutoSize

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

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpAutoSize

Remarks

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

ppAutoSizeMixed

ppAutoSizeNone

ppAutoSizeShapeToFitText

See Also

Reference

TextFrame Interface

TextFrame Members

Microsoft.Office.Interop.PowerPoint Namespace