PowerTools SPREAD for Windows Forms 10.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 メンバ
オーバーロード一覧

 

 


© 2004-2017, GrapeCity inc. All rights reserved.