FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SpreadView クラス : Bounds プロパティ |
'Declaration Public ReadOnly Property Bounds As Rectangle
'使用法 Dim instance As SpreadView Dim value As Rectangle value = instance.Bounds
public Rectangle Bounds {get;}
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook(); Rectangle rect = sv.Bounds; listBox1.Items.Add("Left = " + rect.Left); listBox1.Items.Add("Top = " + rect.Top); listBox1.Items.Add("Width = " + rect.Width); listBox1.Items.Add("Height = " + rect.Height);
Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook Dim rect As Rectangle = sv.Bounds ListBox1.Items.Add("Left = " & rect.Left) ListBox1.Items.Add("Top = " & rect.Top) ListBox1.Items.Add("Width = " & rect.Width) ListBox1.Items.Add("Height = " & rect.Height)