TextFrame2.WarpFormat Property
Returns or sets the warp format (how the text is warped) for the specified text frame. Read/write.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Property WarpFormat As MsoWarpFormat
Get
Set
'Usage
Dim instance As TextFrame2
Dim value As MsoWarpFormat
value = instance.WarpFormat
instance.WarpFormat = value
MsoWarpFormat WarpFormat { get; set; }
Property Value
Type: Microsoft.Office.Core.MsoWarpFormat
MsoWarpFormat
Remarks
The value of the WarpFormat property can be one of the [MsoWarpFormat#SameCHM] constants.
Examples
This example 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