PowerTools SPREAD for Windows Forms 8.0J
GetRotateHandleRectangle(Rectangle) メソッド


矩形
回転ハンドルの矩形を取得します。
構文
'Declaration
 
Public Overridable Function GetRotateHandleRectangle( _
   ByVal r As Rectangle _
) As Rectangle
'使用法
 
Dim instance As PSObject
Dim r As Rectangle
Dim value As Rectangle
 
value = instance.GetRotateHandleRectangle(r)
public virtual Rectangle GetRotateHandleRectangle( 
   Rectangle r
)

パラメータ

r
矩形
次のサンプルコードは、GetRotateHandleRectangle メソッドを使用します。
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.CanRotate = true;            
listBox1.Items.Add(test.GetRotateHandleRectangle(test.Rectangle).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)
test.CanRotate = True            
ListBox1.Items.Add(test.GetRotateHandleRectangle(test.Rectangle).ToString())
参照

PSObject クラス
PSObject メンバ

 

 


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