GrapeCity SPREAD for Windows Forms 11.0J
CreateRoundedLineBorder(Color,Int32,Boolean,Boolean,Boolean,Boolean) メソッド


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

パラメータ

color
境界線の色
thickness
境界線の太さ(ピクセル単位)
left
セルの左辺に線を描画するかどうかを取得します。
top
セルの上辺に線を描画するかどうかを取得します。
right
セルの右辺に線を描画するかどうかを取得します。
bottom
セルの下辺に線を描画するかどうかを取得します。
参照

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

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.