Spread Windows Forms 10.0 Product Documentation
zoomedRectangle Field
Example 


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())
Requirements

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

See Also

Reference

PSObject Class
PSObject Members

 

 


Copyright © GrapeCity, inc. All rights reserved.