PowerTools SPREAD for Windows Forms 8.0J
ArrowShape コンストラクタ()


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

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

 

 


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