Spread Windows Forms 11.0 Product Documentation
zoomedRectangle Field
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSObject Class : zoomedRectangle Field
Specifies the zoomed rectangle.
Syntax
'Declaration
 
Protected zoomedRectangle As RectangleF
'Usage
 
Dim instance As PSObject
Dim value As RectangleF
 
value = instance.zoomedRectangle
 
instance.zoomedRectangle = value
protected RectangleF zoomedRectangle
Example
This example uses the ZoomedRectangle property.
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());
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())
See Also

Reference

PSObject Class
PSObject Members