GrapeCity SPREAD for Windows Forms 12.0J
CrescentShape コンストラクタ()


新しい三日月シェイプを作成します。
構文
'Declaration
 
Public Function New()
'使用法
 
Dim instance As New CrescentShape()
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 メンバ
オーバーロード一覧

 

 


Copyright © 2004 GrapeCity inc.