| 
       | 
        
       | Object Model Reference : Classes : S : Shape : Properties : Shape.Rectangle  | 
      
Property Rectangle As Rectangle
Member of Shape
The Rectangle property returns a Rectangle object that represents the settings for a rectangle shape.
The Rectangle property returns a read-only value.
The following VBA example sets the roundness of all rectangles on a page to 30%.
Sub Test()  | 
 Dim s As Shape  | 
 For Each s In ActivePage.Shapes  | 
  If s.Type = cdrRectangleShape Then  | 
   s.Rectangle.SetRoundness 30  | 
  End If  | 
 Next s  | 
End Sub  | 
| 
       | 
        
       | 
		      
		          
		             | 
      
Copyright 2013 Corel Corporation. All rights reserved.