 
            This function returns the current zoom values.
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT   ACCUAPI  IG_dspl_zoom_get(
        [IN] HIGEAR hIGear,
        [IN] DWORD dwGrpID,
        [IN] HWND hWnd,
        [OUT] LPAT_MODE lpnZoomMode,
        [OUT] LPDOUBLE lpdblHZoom,
        [OUT] LPDOUBLE lpdblVZoom
);
 | |
| Name | Type | Description | 
|---|---|---|
| hIGear | HIGEAR | ImageGear handle of image. | 
| dwGrpID | DWORD | Identifier of the group from which to obtain zoom parameters. | 
| hWnd | HWND | Handle of window where the image is drawn. | 
| lpnZoomMode | LPAT_MODE | Pointer to where ZoomMode is to be received. If NULL, then this parameter is ignored. | 
| lpdblHZoom | LPDOUBLE | Where to return the calculated horizontal zoom value. This value is always calculated whether or not the horizontal zoom is fixed. | 
| lpdblVZoom | LPDOUBLE | Where to return the calculated vertical zoom value. This value is always calculated whether or not the vertical zoom is fixed. | 
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear for C and C++.
Display, MFC, Filters, ASCII, Panning, ArtX, Vector
| 
                        Copy Code
                     | |
|---|---|
| HIGEAR hIGear; /* HIGEAR handle of image */ DWORD nGrpID; /* display group identifier */ AT_MODE nZoomMode; /* zoom mode */ DOUBLE dHZoom; /* horizontal zoom value */ DOUBLE dVZoom; /* vertical zoom value */ ... IG_dspl_zoom_get( hIGear, nGrpID, hWnd, &nZoomMode, &dHZoom, &dVZoom ); ... | |