GrapeCity ActiveReports for .NET 12.0J
RoundingRadius プロパティ (Shape)
使用例 

RoundRectに設定されたShapeの角丸の丸みを取得または設定します。単位はパーセント(0〜100%)です。
構文
'宣言
 
Public Property RoundingRadius As CornersRadius
public CornersRadius RoundingRadius {get; set;}
解説
デフォルト値は10です。有効な設定範囲は0〜100%です。
使用例
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; 
}
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
参照

関連項目

Shape クラス
Shape メンバ

 

 


Copyright © 2003 GrapeCity inc. All rights reserved.