PowerTools SPREAD for Windows Forms 8.0J
Draw プロパティ


この1辺を複合境界線に描画するかどうかを表すブール値を取得します。
構文
'Declaration
 
Public ReadOnly Property Draw As Boolean
'使用法
 
Dim instance As ComplexBorderSide
Dim value As Boolean
 
value = instance.Draw
public bool Draw {get;}

プロパティ値

境界線のこの辺を描画する場合はTrue、それ以外の場合はFalse
次のサンプルコードは、辺が描画されるかどうかを返します。
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);
bool b = side.Drawn;
MessageBox.Show("It is " + b.ToString() + " that the side is drawn.");
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 b As Boolean = side.Drawn
MessageBox.Show("It is " + b.ToString() + " that the side is drawn.")
参照

ComplexBorderSide クラス
ComplexBorderSide メンバ

 

 


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