MESCIUS SPREAD for Windows Forms 17.0J
Width プロパティ (ComplexBorderSide)

複合境界線のこの1辺の幅を取得します。
構文
'Declaration
 
Public ReadOnly Property Width As Integer
public int Width {get;}

プロパティ値

この境界線の辺の幅(ピクセル単位)を表すInteger
次のサンプルコードは、辺の幅を返します。
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(true, Color.Red, (int)1.5, System.Drawing.Drawing2D.DashStyle.Solid, new float[] {0.33F, 0.5F, 0.66F, 1.0F}, new float[] {0.33F, 0.5F, 0.66F, 1.0F});
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);
int i = side.Width;
MessageBox.Show("The width of the side is " + i.ToString() + " pixels.");
Dim side As New FarPoint.Win.ComplexBorderSide(True, Color.Red, 1.5, Drawing2D.DashStyle.Solid, New Single() {0.33F, 0.5F, 0.66F, 1.0F}, New Single() {0.33F, 0.5F, 0.66F, 1.0F})
Dim bord As New FarPoint.Win.ComplexBorder(side)
Dim i As Integer = side.Width
MessageBox.Show("The width of the side is " + i.ToString() + " pixels.")
参照

ComplexBorderSide クラス
ComplexBorderSide メンバ

 

 


© MESCIUS inc. All rights reserved.