Object Model Reference : Classes : R : Rectangle : Methods : Rectangle.SetRoundness |
Sub SetRoundness(Roundness As Long)
Member of Rectangle
The SetRoundness method sets the same roundness for all corners in a rectangle.
The roundness value ranges from 0 (a cusp corner) to 100 (the maximum corner radius, which is half the length of the shortest side).
The following VBA example sets the roundness for all corners in the active rectangle to 50%.
Sub Test() |
ActiveShape.Rectangle.SetRoundness 50 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.