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


ベベル境界線の種類を含むBevelBorderType設定
ベベル境界線のハイライト色
ベベル境界線の影の色
ベベル境界線の幅(ピクセル単位)
左辺に描画するかどうか
上辺に描画するかどうか
右辺に描画するかどうか
下辺に描画するかどうか
種類、ハイライト色、影の色、幅、描画する辺を指定して ベベル境界線を作成します。
構文
'Declaration
 
Public Function New( _
   ByVal type As BevelBorderType, _
   ByVal highlight As Color, _
   ByVal shadow As Color, _
   ByVal thickness As Integer, _
   ByVal left As Boolean, _
   ByVal top As Boolean, _
   ByVal right As Boolean, _
   ByVal bottom As Boolean _
)
'使用法
 
Dim type As BevelBorderType
Dim highlight As Color
Dim shadow 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 BevelBorder(type, highlight, shadow, thickness, left, top, right, bottom)
public BevelBorder( 
   BevelBorderType type,
   Color highlight,
   Color shadow,
   int thickness,
   bool left,
   bool top,
   bool right,
   bool bottom
)

パラメータ

type
ベベル境界線の種類を含むBevelBorderType設定
highlight
ベベル境界線のハイライト色
shadow
ベベル境界線の影の色
thickness
ベベル境界線の幅(ピクセル単位)
left
左辺に描画するかどうか
top
上辺に描画するかどうか
right
右辺に描画するかどうか
bottom
下辺に描画するかどうか
次のサンプルコードは、ベベル境界線を作成します。
FarPoint.Win.BevelBorder bevel = new FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, 1.5, true, false, true, false);
Dim bevel as New FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, 1.5, True, False, True, False)
参照

BevelBorder クラス
BevelBorder メンバ
オーバーロード一覧
BevelBorderType 列挙体
Type プロパティ
Highlight プロパティ
Shadow プロパティ
Thickness プロパティ

 

 


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