ActiveReports 8
RoundingRadius Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Shape Class : RoundingRadius Property

Glossary Item Box

Gets or sets the radius as a percentage value for each corner of the RoundRect shape control.

Syntax

Visual Basic (Declaration) 
Public Property RoundingRadius As System.Single
C# 
public System.float RoundingRadius {get; set;}

Remarks

The default value is 10%; valid values range from 0% to 100%.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs) 
{ 
    this.shape1.BackColor = System.Drawing.Color.LightSteelBlue; 
    this.shape1.LineColor = System.Drawing.Color.Navy; 
    this.shape1.LineStyle = LineStyle.Solid; 
    this.shape1.LineWeight = 2.0f; 
    this.shape1.Style = ShapeType.RoundRect; 
    this.shape1.RoundingRadius = 20f; 
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Shape1.BackColor = System.Drawing.Color.LightSteelBlue
   Me.Shape1.LineColor = System.Drawing.Color.Navy
   Me.Shape1.LineStyle = LineStyle.Solid
   Me.Shape1.LineWeight = 2.0F
   Me.Shape1.Style = ShapeType.RoundRect
   Me.Shape1.RoundingRadius = 20F
End Sub

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also