FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > ISheetSelectionModel インタフェース : AnchorRow プロパティ |
'Declaration ReadOnly Property AnchorRow As Integer
'使用法 Dim instance As ISheetSelectionModel Dim value As Integer value = instance.AnchorRow
int AnchorRow {get;}
FarPoint.Win.Spread.Model.ISheetSelectionModel sel; int i, j; sel = (FarPoint.Win.Spread.Model.ISheetSelectionModel)fpSpread1.ActiveSheet.Models.Selection; sel.SetSelection(0, 0, 2, 2); i = sel.AnchorColumn; j = sel.AnchorRow; label1.Text = "The anchor column is " + i.ToString() + " - The anchor row is " + j.ToString();
Dim sel As FarPoint.Win.Spread.Model.ISheetSelectionModel Dim i, j As Integer sel = FpSpread1.ActiveSheet.Models.Selection sel.SetSelection(0, 0, 2, 2) i = sel.AnchorColumn j = sel.AnchorRow Label1.Text = "The anchor column is " & i.ToString() & " - The anchor row is " & j.ToString()