CommandButton.SoftEdges property (Access)

Gets or sets the soft edges effect applied to the specified object. Read/write Long.

Syntax

expression.Soft Edges

expression A variable that represents a CommandButton object.

Remarks

The SoftEdges property uses one of the values listed in the following table.

Value Effect
0 (Default) No Soft Edges
1 1 Point
2 2.5 Points
3 5 Points
4 10 Points
5 25 Points
6 50 Points

To see the available soft edges effects and apply soft edges through the user interface, first open the form or report in Layout view or Design view by right-clicking the form or report in the navigation pane, and then choosing the view that you want.

Next, choose the object to which you want to apply a soft edges effect. On the Format tab, in the Control Formatting group, choose Shape Effects > Soft Edges, and then choose a soft edges effect. Notice that the soft edges effects are indexed from top to bottom.

This property is not surfaced in the property sheet.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.