Previous Document Next Document

Object Model Reference : Classes : R : Rectangle : Methods : Rectangle.SetRoundness


Rectangle.SetRoundness

Sub SetRoundness(Roundness As Long)

Description

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).

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

VBA example

The following VBA example sets the roundness for all corners in the active rectangle to 50%.

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.