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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also