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


新しいテキスト文字列シェイプを作成します。
構文
'Declaration
 
Public Function New()
'使用法
 
Dim instance As New TextShape()
public TextShape()
次のサンプルコードは、テキストシェイプを作成します。
FarPoint.Win.Spread.DrawingSpace.TextShape ts = new FarPoint.Win.Spread.DrawingSpace.TextShape();
ts.Parent = fpSpread1;
ts.Text = "This is the text!"
ts.SetBounds(10, 10, 450, 450);

fpSpread1.ActiveSheet.AddShape(ts);
Dim ts As New FarPoint.Win.Spread.DrawingSpace.TextShape()
ts.Parent = FpSpread1
ts.Text = "This is the text!"
ts.SetBounds(10, 10, 450, 450)

FpSpread1.ActiveSheet.AddShape(ts)
参照

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

 

 


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