GrapeCity SPREAD for Windows Forms 11.0J
FourWayArrowShape コンストラクタ()


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

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

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.