Поделиться через


TextFrame2.WarpFormat Property (Office)

Returns or sets the warp format (how the text is warped) for the specified text frame. Read/write

Version Information

Version Added: Office 2010

Syntax

expression .WarpFormat

expression An expression that returns a TextFrame2 object.

Remarks

The value of the WarpFormat property can be one of the MsoWarpFormat constants.

Example

The following code shows how to set the warp format for shape one on slide one of the active presentation.

Public Sub WarpFormat_Example() 
 
 Dim pptSlide As Slide 
 Set pptSlide = ActivePresentation.Slides(1) 
 pptSlide.Shapes(1).TextFrame2.WarpFormat = msoWarpFormat15 
 
End Sub 

See Also

Concepts

TextFrame2 Object

TextFrame2 Object Members