The ZoomPoint method zooms in or out about a specified point.
Syntax
object.ZoomPoint( x, y, Scale )
Parameter |
Type |
Description |
x |
Double |
required; in page units |
y |
Double |
required; in page units |
Scale |
Double |
required; scale factor |
Remarks
The scale factor is a number greater than 0.0. Values larger than 1.0 zoom in and values smaller than 1.0 zoom out. For example,
Scale:=2.0 will make the graphics twice as large,
Scale:=0.5 will make the graphics twice as small, and
Scale:=10.0 will make the graphics ten times as large.
Example
This example demonstrates how to double the zoom centered at a specified point.
PlotWindow.ZoomPoint(x:=5, y:=7, Scale:=2)
Used by: PlotWindow object