#
CwGetViewZoom

### Syntax:

    call CwGetViewZoom stem

            ("stem" is the name of a stem variable in which the results are
             stored.  There are 4 fields of the stem that are set.)

            stem.X          (numeric) The horizontal coordinate of the top-left corner
                            of the zoom rectangle

            stem.Y          (numeric) The vertical coordinate of the top-left corner
                            of the zoom rectangle

            stem.Width      (numeric) The width of the zoom rectangle

            stem.Height     (numeric) The height of the zoom rectangle

### Description:

This procedure retrieves the zoom from the current view. The stem values are the dimensions of the rectangle to which the view is currently zoomed.

### Example:

    /* This example zooms back by 200%. */
    call CwGetViewZoom blart
    call CwSetViewZoom blart.x, blart.y, blart.width*2, blart.height*2

Functions by NAME | Index | Functions by PURPOSE