Previous Document Next Document
Rectangle.SetRoundness

Sub SetRoundness(Roundness As Long)

Member of Rectangle

The SetRoundness method sets the same roundness for all corners in a rectangle.

The value for the roundness ranges from 0 (a cusp corner) to 100 (the maximum corner radius, which is half the length of the shortest side).

Parameters
Description
Roundness
Specifies the roundness. Values range from 0 to 100.

The following code example sets the roundness for all corners in the active rectangle shape to 50%:

Sub Test() 
 ActiveShape.Rectangle.SetRoundness 50 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.