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


二重境界線の色
左辺に描画するかどうか
上辺に描画するかどうか
右辺に描画するかどうか
下辺に描画するかどうか
色と描画する辺を指定して二重境界線を 作成します。
構文
'Declaration
 
Public Function New( _
   ByVal color As Color, _
   ByVal left As Boolean, _
   ByVal top As Boolean, _
   ByVal right As Boolean, _
   ByVal bottom As Boolean _
)
'使用法
 
Dim color As Color
Dim left As Boolean
Dim top As Boolean
Dim right As Boolean
Dim bottom As Boolean
 
Dim instance As New DoubleLineBorder(color, left, top, right, bottom)
public DoubleLineBorder( 
   Color color,
   bool left,
   bool top,
   bool right,
   bool bottom
)

パラメータ

color
二重境界線の色
left
左辺に描画するかどうか
top
上辺に描画するかどうか
right
右辺に描画するかどうか
bottom
下辺に描画するかどうか
次のサンプルコードは、二重境界線の太さを返します。
FarPoint.Win.DoubleLineBorder dbl = new FarPoint.Win.DoubleLineBorder(Color.Yellow, true, false, true, false);
int i = dbl.Thickness;
MessageBox.Show("The thickness of the border is " + i.ToString() + " pixels.");
Dim dbl As New FarPoint.Win.DoubleLineBorder(Color.Yellow, True, False, True, False)
Dim i As Integer = dbl.Thickness
MessageBox.Show("The thickness of the border is " + i.ToString() + " pixels.")
参照

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

 

 


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