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


新しい山形シェイプを作成します。
構文
'Declaration
 
Public Function New()
'使用法
 
Dim instance As New ChevronShape()
public ChevronShape()
次のサンプルコードは、山形シェイプを作成します。
FarPoint.Win.Spread.DrawingSpace.ChevronShape cs = new FarPoint.Win.Spread.DrawingSpace.ChevronShape();
cs.Parent = fpSpread1;
cs.BackColor = Color.Red;
cs.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth;
cs.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical;
cs.Anchor = 20;
cs.SetBounds(15, 15, 50, 50);

fpSpread1.ActiveSheet.AddShape(cs);
Dim cs As New FarPoint.Win.Spread.DrawingSpace.ChevronShape
cs.Parent = FpSpread1
cs.BackColor = Color.Red
cs.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth
cs.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical
cs.Anchor = 20
cs.SetBounds(15, 15, 50, 50)

FpSpread1.ActiveSheet.AddShape(cs)
参照

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

 

 


Copyright © 2004 GrapeCity inc.