SoftEdgeFormat Object (Office)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents the soft edges effect in Office graphics.

The Soft Edge effect creates a mask around the edge of an object and blends the object with the transparent edge. The result is a faded or "feathered"edge.

This example sets the soft edge formatting for the text for the second shape on the second slide in a PowerPoint presentation:

With ActivePresentation.Slides(1).Shapes(2) 
 With .Text.Font 
 .Size = 32 
 .Name = "Palatino" 
 .Softedgeformat = msosoftedge6 
 End With 
End With