Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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