MESCIUS SPREAD for Windows Forms 17.0J
GetRotateHandleRectangle(Rectangle) メソッド

矩形
回転ハンドルの矩形を取得します。
構文
'Declaration
 
Public Overridable Function GetRotateHandleRectangle( _
   ByVal r As Rectangle _
) As Rectangle
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 メンバ

 

 


© MESCIUS inc. All rights reserved.