Set view rectangle
This procedure allows you to change the view rectangle of a particular screen from which the procedure is run. It changes the viewable area of the screen, including the ability to set a new zoom value.
Note: You could also configure this procedure in the object model using
the SetToSetViewRectangle method.

The following values can be set using expressions:
Value | Description |
---|---|
Height | The height (in document points) of the viewing rectangle area. Note: If the value for Height is not defined or evaluates to 0, it
defaults to the height of the screen. |
Width | The width (in document points) of the viewing rectangle area. Note: If the value for Width is not defined or evaluates to 0, it
defaults to the width of the screen. |
Top | The position (in document points) in the screen that will be the top edge of the
viewing rectangle area. Note: If the value for Top is not defined
or evaluates to 0, it defaults to the height of the screen. |
Left | The position (in document points) in the screen that will be the left edge of the
viewing rectangle area. Note: If the value for Left is not defined
or evaluates to 0, it defaults to 0. |
Percent zoom | The level of magnification applied to view rectangle, expressed as a percentage
of its original size. Note: If the value for Percent zoom is not
defined or evaluates to 0, it will use the current zoom setting of the
view. |
Example
For a better understanding, consider the below screen with the coordinates listed on it, including the Lower Right Quadrant button added as a procedure.


Based on the above configuration, the view rectangle area changes on the click of the Lower Right Quadrant button.
