GrapeCity SPREAD for Windows Forms 11.0J
ShapeProps コンストラクタ()


シェイププロパティの新しいセットを作成します。
構文
'Declaration
 
Public Function New()
'使用法
 
Dim instance As New ShapeProps()
public ShapeProps()
次のサンプルコードは、四角形シェイプをコンテナに追加します。
FarPoint.Win.Spread.DrawingSpace.ShapeProps sp = new FarPoint.Win.Spread.DrawingSpace.ShapeProps();
sp.Shape = new FarPoint.Win.Spread.DrawingSpace.RectangleShape();
sp.SetBounds(40, 40, 20, 20);
fpSpread1.ActiveSheet.AddShape(sp.Shape);
Dim sp As New FarPoint.Win.Spread.DrawingSpace.ShapeProps
sp.Shape = New FarPoint.Win.Spread.DrawingSpace.RectangleShape
sp.SetBounds(40, 40, 20, 20)
FpSpread1.ActiveSheet.AddShape(sp.Shape)
参照

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

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.