PowerTools SPREAD for Windows Forms 10.0J
OriginalBounds プロパティ


元の境界を取得します。
構文
'Declaration
 
Public ReadOnly Property OriginalBounds As RectangleF
'使用法
 
Dim instance As PSObject
Dim value As RectangleF
 
value = instance.OriginalBounds
public RectangleF OriginalBounds {get;}

プロパティ値

元の境界。
次のサンプルコードは、OriginalBounds プロパティを使用します。
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);
listBox1.Items.Add(test.OriginalBounds.ToString());
FpSpread1.Sheets(0).Cells(0, 0).Text = "test"
Dim test As New FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape()
test.Formula = "A1:A5"
FpSpread1.Sheets(0).AddShape(test, 2, 1)
ListBox1.Items.Add(test.OriginalBounds.ToString())
参照

PSObject クラス
PSObject メンバ

 

 


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