PowerTools SPREAD for Windows Forms 10.0J
TwoWayArrowShape コンストラクタ()


新しい二方向矢印シェイプを作成します。
構文
'Declaration
 
Public Function New()
'使用法
 
Dim instance As New TwoWayArrowShape()
public TwoWayArrowShape()
次のサンプルコードは、二方向矢印シェイプを作成します。
FarPoint.Win.Spread.DrawingSpace.TwoWayArrowShape arrow = new FarPoint.Win.Spread.DrawingSpace.TwoWayArrowShape();
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.TwoWayArrowShape
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)
参照

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

 

 


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