PowerTools SPREAD for Windows Forms 10.0J
DashStyle プロパティ


複合境界線のこの1辺の破線スタイルを取得します。
構文
'Declaration
 
Public ReadOnly Property DashStyle As DashStyle
'使用法
 
Dim instance As ComplexBorderSide
Dim value As DashStyle
 
value = instance.DashStyle
public DashStyle DashStyle {get;}

プロパティ値

境界線の辺の破線スタイルを決定するDashStyle設定
次のサンプルコードは、辺の破線スタイルを返します。
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);
System.Drawing.Drawing2D.DashStyle ds = side.DashStyle;
MessageBox.Show("The dash style for the side is " + Convert.ToInt32(ds).ToString() + ".");
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 ds As System.Drawing.Drawing2D.DashStyle = side.DashStyle
MessageBox.Show("The dash style for the side is " + Convert.ToInt32(ds).ToString() + ".")
参照

ComplexBorderSide クラス
ComplexBorderSide メンバ

 

 


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