MESCIUS SPREAD for Windows Forms 15.0J
RoundedLineBorder コンストラクタ(Color,Int32,Boolean,Boolean,Boolean,Boolean)
使用例 

境界線の色
境界線の太さ(ピクセル単位)
セルの左辺に線を描画するかどうかを取得します。
セルの上辺に線を描画するかどうかを取得します。
セルの右辺に線を描画するかどうかを取得します。
セルの下辺に線を描画するかどうかを取得します。
色と太さを指定して角丸の一重境界線を作成し、 描画する境界線の辺を指定します。
構文
'宣言
 
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 _
)
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 メンバ
オーバーロード一覧

 

 


© MESCIUS inc. All rights reserved.