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


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

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

FpSpread1.ActiveSheet.AddShape(cm)
参照

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

 

 


Copyright © 2004 GrapeCity inc.