PowerTools SPREAD for Windows Forms 10.0J
Thickness プロパティ (BevelBorder)


境界線の太さを取得します。
構文
'Declaration
 
Public ReadOnly Property Thickness As Integer
'使用法
 
Dim instance As BevelBorder
Dim value As Integer
 
value = instance.Thickness
public int Thickness {get;}

プロパティ値

境界線の太さ(ピクセル単位)を表すInteger
次のサンプルコードは、ベベル境界線を作成します。
FarPoint.Win.BevelBorder bevel = new FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, (int)1.5, true, false, true, false);
int i = bevel.Thickness;
MessageBox.Show("The thickness of the border is " + i.ToString() + "pixels.");
Dim bevel As New FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, 1.5, True, False, True, False)
Dim i As Integer = bevel.Thickness
MessageBox.Show("The thickness of the border is " + i.ToString() + " pixels.")
参照

BevelBorder クラス
BevelBorder メンバ

 

 


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