FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : Bounds Property |
'Declaration Public ReadOnly Property Bounds As Rectangle
'Usage 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)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10