Rounded Rectangle

Rounded Rectangle

Forum member · Jun 26, 2006
How do I create a rounded rectangle please? Thank you. Piyush Varma

Re: Rounded Rectangle

Support · Jun 27, 2006
Hello Piyush, You will have to set the CornerRadius property of the Rectangle page element in order to generate rounded rectangles. Following is the code sample: C# Code: Rectangle rectangle = new Rectangle( 50, 50, 200, 200 ); // Change the corner radius property rectangle.CornerRadius = 10; VB.NET Code: Dim MyRectangle As Rectangle = New Rectangle(50, 50, 200, 200) ' Change the corner radius property MyRectangle.CornerRadius = 10 Thanks, ceTe Software Support Team

Re: Rounded Rectangle

Forum member · Jun 27, 2006
It works like a charm. Thank you very much.