MESCIUS SPREAD for Windows Forms 17.0J
TriangleShape コンストラクタ()

新しい三角形シェイプを作成します。
構文
'Declaration
 
Public Function New()
public TriangleShape()
次のサンプルコードは、三角形シェイプを作成します。
FarPoint.Win.Spread.DrawingSpace.TriangleShape ts = new FarPoint.Win.Spread.DrawingSpace.TriangleShape();
ts.Parent = fpSpread1;
ts.BackColor = Color.Red;
ts.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth;
ts.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical;
ts.Anchor = 20;
ts.SetBounds(15, 15, 50, 50);
fpSpread1.ActiveSheet.AddShape(ts);
Dim ts As New FarPoint.Win.Spread.DrawingSpace.TriangleShape
ts.Parent = FpSpread1
ts.BackColor = Color.Red
ts.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth
ts.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical
ts.Anchor = 20
ts.SetBounds(15, 15, 50, 50)
FpSpread1.ActiveSheet.AddShape(ts)
参照

TriangleShape クラス
TriangleShape メンバ
オーバーロード一覧

 

 


© MESCIUS inc. All rights reserved.