PowerTools SPREAD for Windows Forms 8.0J
RoundedLineBorder コンストラクタ(Color,Int32,Boolean,Boolean,Boolean,Boolean)


境界線の色
境界線の太さ(ピクセル単位)
セルの左辺に線を描画するかどうかを取得します。
セルの上辺に線を描画するかどうかを取得します。
セルの右辺に線を描画するかどうかを取得します。
セルの下辺に線を描画するかどうかを取得します。
色と太さを指定して角丸の一重境界線を作成し、 描画する境界線の辺を指定します。
構文
'Declaration
 
Public Function New( _
   ByVal color As Color, _
   ByVal thickness As Integer, _
   ByVal left As Boolean, _
   ByVal top As Boolean, _
   ByVal right As Boolean, _
   ByVal bottom As Boolean _
)
'使用法
 
Dim color As Color
Dim thickness As Integer
Dim left As Boolean
Dim top As Boolean
Dim right As Boolean
Dim bottom As Boolean
 
Dim instance As New RoundedLineBorder(color, thickness, left, top, right, bottom)
public RoundedLineBorder( 
   Color color,
   int thickness,
   bool left,
   bool top,
   bool right,
   bool bottom
)

パラメータ

color
境界線の色
thickness
境界線の太さ(ピクセル単位)
left
セルの左辺に線を描画するかどうかを取得します。
top
セルの上辺に線を描画するかどうかを取得します。
right
セルの右辺に線を描画するかどうかを取得します。
bottom
セルの下辺に線を描画するかどうかを取得します。
次のサンプルコードは、角丸境界線を作成します。
FarPoint.Win.RoundedLineBorder rlb = new FarPoint.Win.RoundedLineBorder(Color.Red, 3, true, true, true, true);
Dim rlb As New FarPoint.Win.RoundedLineBorder(Color.Red, 3, True, True, True, True)
参照

RoundedLineBorder クラス
RoundedLineBorder メンバ
オーバーロード一覧

 

 


© 2004-2015, GrapeCity inc. All rights reserved.