ImageGear for C and C++ on Windows v20.0 - Updated
ART_GUI_resize_handle_size_set
API Reference Guide > ART Component API Reference > ART Component Functions Reference > GUI Functions > ART_GUI_resize_handle_size_set

This function sets the region defined as the sizing handle.

Declaration:

 
Copy Code
AT_ERRCOUNT ART_GUI_resize_handle_size_set(
        HIGEAR hIGear,
        DWORD dwSize
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle to the image.
dwSize DWORD Size of the sizing handle.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Sample:

None

Example:

 
Copy Code
HIGEAR        hIGear;      /* HIGEAR handle of image */
AT_ERRCOUNT   nErrcount;   /* tally of IG errors on stack */
nErrcount = ART_GUI_resize_handle_size_set (hIGear, 20);

Remarks:

This function allows the handle size to be increased to a size that allows it to be grabbed by a finger (for example, for use with a touch screen). This is a global property; it affects all HIGEAR handles.

Is this page helpful?
Yes No
Thanks for your feedback.