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

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

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

 

 


© MESCIUS inc. All rights reserved.