ZoomRectangle

The ZoomRectangle method zooms such that the specified rectangle occupies the entire window.

Syntax

object.ZoomRectangle( Left, Top, Right, Bottom )

Parameter

Type

Required/

Optional

Default

Description

Left

Double

Required

 

This specifies the left coordinate in page units.

Top

Double

Required

This specifies the top coordinate in page units

Right

Double

Required

This specifies the right coordinate in page units

Bottom

Double

Required

This specifies the bottom coordinate in page units

Example 1

This example demonstrates how to zoom within a rectangular area.

PlotWindow.ZoomRectangle(Left:=3, Top:=7, Right:=7, Bottom:=4)

Example 2

This script displays all the methods and properties in the PlotWindow object.

Used by: PlotWindow object