ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / GUI Component API Reference / GUI Component Functions Reference / General Functions / IG_gui_resolution_dlg
In This Topic
    IG_gui_resolution_dlg
    In This Topic

    This function displays the Image Resolution dialog.

    Declaration:

     
    Copy Code
    BOOL ACCUAPI IG_gui_resolution_dlg(
       HWND hWnd,
       AT_RESOLUTION* lpresolution
    );
    

    Arguments:

    Name Type Description
    hWnd HWND The HWND handle of the parent window.
    lpresolution AT_RESOLUTION* Pointer to a variable of type AT_RESOLUTION that will receive the new resolution.

    Return Value:

    A Boolean value. If the user clicks OK, returns TRUE. Otherwise, returns FALSE.

    Supported Raster Image Formats:

    All formats supported by ImageGear.

    Sample:

    Artext, Filter

    Remarks:

    This dialog does not apply the new resolution to the image, but only returns the new resolution values provided by the user.