ImageGear for C and C++ on Windows v19.10 - Updated
IG_gui_ip_resizecanvas_dlg
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > Image Processing Functions > IG_gui_ip_resizecanvas_dlg

This function opens the Resize Canvas dialog.

Declaration:

 
Copy Code
BOOL ACCUAPI IG_gui_ip_resizecanvas_dlg(
   HWND hWnd,
   LPAT_IGGUI_IP_RESIZE lpIpResizeData
);

Arguments:

Name Type Description
hWnd HWND The HWND handle of the parent window.
lpIpResizeData LPAT_IGGUI_IP_RESIZE A pointer to a structure of type AT_IGGUI_IP_RESIZE which contains image information and parameters for processing.

Return Value:

If the lpIP structure is invalid or cancel is clicked, the function returns FALSE. Otherwise, it returns TRUE.

Supported Raster Image Formats:

All pixel types supported by ImageGear.

Sample:

Image Processing