ImageGear for C and C++ on Windows v20.0 - Updated
IG_dspl_artx_image_draw
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_artx_image_draw

This function acts like IG_dspl_image_draw(), but takes one additional argument: hArtXPage.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_dspl_artx_image_draw( 
        [IN] HIGEAR hIGear,
        [IN] DWORD dwGrpID,
        [IN] LPVOID hArtXPage,
        [IN] HWND hWnd,
        [IN] HDC hDC,
        [OUT] LPAT_RECTANGLE lpActualDeviceRect
);

Arguments:

Name Type Description
hIGear HIGEAR ImageGear handle from which to get options and pixel data.
dwGrpID DWORD Identifier of group from which to get display options.
hArtXPage LPVOID ArtX page to display.
hWnd HWND Handle of window where the image is to be displayed. Can be NULL, but in this case some display options may be calculated incorrectly if they are not set explicitly.
hDC HDC Handle of the device context on which to draw the image. Can be NULL, and in this case no actual drawing is performed, but all parameters are calculated and updated. This may be useful in calculating DisplayedImageRect in the next parameter of this function.
lpActualDeviceRect LPAT_RECTANGLE Pointer to the rectangle in which to copy DisplayedImageRect. This rectangle is calculated no matter whether hDC=NULL or not. If the value is NULL, then this parameter is ignored.

Return Value:

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

Supported Raster Image Formats:

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

Sample:

ArtX

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