Syntax
Visual Basic (Declaration) | |
---|
Protected zoomedRectangle As RectangleF |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As PSObject
Dim value As RectangleF
value = instance.zoomedRectangle
instance.zoomedRectangle = value |
Example
This example uses the ZoomedRectangle property.
C# | Copy Code |
---|
FarPoint.Win.Spread.DrawingSpace.PSShape psShape = new FarPoint.Win.Spread.DrawingSpace.RectangleShape();
var expected = new System.Drawing.RectangleF(0, 0, 75, 75);
//Get the value of the ZoomedRectangle property.
var actual = psShape.ZoomedRectangle;
listBox1.Items.Add(actual.ToString()); |
Visual Basic | Copy Code |
---|
Dim expected As Object
Dim psShape As New FarPoint.Win.Spread.DrawingSpace.RectangleShape()
expected = New System.Drawing.RectangleF(0, 0, 75, 75)
'Get the value of the ZoomedRectangle property.
ListBox1.Items.Add(psShape.ZoomedRectangle.ToString()) |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also