Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / PSObject Class / ZoomedRectangle Property
Example


In This Topic
    ZoomedRectangle Property
    In This Topic
    Gets the zoomed rectangle.
    Syntax
    'Declaration
     
    Public ReadOnly Property ZoomedRectangle As RectangleF
    'Usage
     
    Dim instance As PSObject
    Dim value As RectangleF
     
    value = instance.ZoomedRectangle
    public RectangleF ZoomedRectangle {get;}

    Property Value

    The zoomed rectangle.
    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