MESCIUS SPREAD for Windows Forms 15.0J
ResetShape メソッド (SpreadCameraShape)
使用例 

オブジェクトのシェイプをリセットします。
構文
'宣言
 
Public Overrides Sub ResetShape() 
public override void ResetShape()
使用例
次のサンプルコードは、ResetShape メソッドを使用します。
fpSpread1.Sheets[0].Cells[0, 0].Text = "test";
FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape test = new FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape();
test.Formula = "A1:A5";
fpSpread1.Sheets[0].AddShape(test, 2, 1);
test.Scale(2, 2);
test.ResetShape();
fpSpread1.Sheets(0).Cells(0, 0).Text = "test"
Dim test As New FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape()
test.Formula = "A1:A5"
test.Name = "rangeimage"
fpSpread1.Sheets(0).AddShape(test, 2, 1)
test.Scale(2, 2)
test.ResetShape()
参照

SpreadCameraShape クラス
SpreadCameraShape メンバ

 

 


© MESCIUS inc. All rights reserved.