This topic describes how to let the user select an area with a mouse and zoom in on the selected area. In this topic, you learn the following:
How to use the source rectangle with the L_PaintDC function.
How to translate client area coordinates to bitmap coordinates, while accounting for differences in view perspective. For general information about view perspectives, refer to Accounting for View Perspective.
To be as simple and specific as possible, these instructions describe how to modify the EZFUNC example program. If you want to test the sample code, you should make a copy of the EZFUNC program, and modify the copy. The display rectangles used in this program are described in Fitting an Image to a Window.
The following topics provide detailed descriptions of these steps, with code that you can copy from the online help and paste into the sample program.
Medical Web Viewer .NET