Share

View.ZoomWindow Method

Description

Modifies the current view such that the new window displays the region defined by the input screen coordinates. The aspect ratio is automatically maintained.

Visual Basic

Public Function ZoomWindow(
    lowerLeft As Point2d, 
    upperRight As Point2d
) As void

C#

public void ZoomWindow(
    Point2d lowerLeft, 
    Point2d upperRight
);

Parameters

Parameters Description
Point2d lowerLeft Input screen coordinate of the lower-left point of the new zoom window.
Point2d upperRight Input screen coordinate of the upper-right point of the new zoom window.

Links

View Class, Autodesk.AutoCAD.GraphicsSystem Namespace

Was this information helpful?