FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SpreadView クラス : GetViewportRectangle メソッド |
'Declaration
Public Function GetViewportRectangle( _ ByVal rowViewportIndex As Integer, _ ByVal columnViewportIndex As Integer _ ) As Rectangle
'使用法
Dim instance As SpreadView Dim rowViewportIndex As Integer Dim columnViewportIndex As Integer Dim value As Rectangle value = instance.GetViewportRectangle(rowViewportIndex, columnViewportIndex)
public Rectangle GetViewportRectangle( int rowViewportIndex, int columnViewportIndex )
FarPoint.Win.Spread.SpreadView sv; sv = fpSpread1.GetRootWorkbook(); listBox1.Items.Add(sv.GetViewportRectangle(0,0));
Dim sv As FarPoint.Win.Spread.SpreadView sv = FpSpread1.GetRootWorkbook() ListBox1.Items.Add(sv.GetViewportRectangle(0, 0))