Spread Windows Forms 6.0 Product Documentation
zoomedRectangle Field
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSObject Class : zoomedRectangle Field


Glossary Item Box

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
C# 
protected RectangleF zoomedRectangle

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 BasicCopy 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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.