ImageGear Professional DLL v17.1 for Windows Accusoft
IG_GUI_magnify_window_create
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Magnify Functions > IG_GUI_magnify_window_create

Glossary Item Box

This function is called to create a GUI magnify window.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_magnify_window_create (
        HIGEAR hIGear, 
        DWORD dwGrpID, 
        HWND hWndParent, 
        const LPSTR lpszTitle, 
        INT nX, 
        INT nY, 
        INT nWidth, 
        INT nHeight, 
        HWND FAR* lphWndMagnify
);

Arguments:

hIGear HIGEAR handle of image.
DwGrpID Identifier of the group used for drawing image in the hWndParent window. A new group will be allocated internally for drawing image in the magnify window.
hWndParent Handle of Parent window.
lpszTitle Title of Magnify Window.
nX X position of upper left corner of Magnify window.
nY Y position of upper left corner of Magnify window.
nWidth Width of Magnify window.
nHeight Height of Magnify window.
lphWndMagnify Far pointer to HWND object to hold Magnify window handle.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

Sample:

Magnify, Display, GUI Windows

Example:

See the example for function IG_GUI_magnify_track_mouse().

Remarks:

When the mouse is moved about in such a window with the left button held down, a small rectangle is dragged and the portion of the image inside the rectangle can be displayed (magnified) in the parent image window.

See the IG_GUI_magnify_track_mouse() function.
©2012. Accusoft Corporation. All Rights Reserved.