MESCIUS SPREAD for Windows Forms 15.0J
FourWayArrowShape コンストラクタ()
使用例 

新しい四方向矢印シェイプを作成します。
構文
'宣言
 
Public Function New()
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 メンバ
オーバーロード一覧

 

 


© MESCIUS inc. All rights reserved.