ImageGear for C and C++ on Windows v19.4 - Updated
IG_ARTX_image_filename_set
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_IMAGE > IG_ARTX_image_filename_set

This function assigns an image file to the annotation.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_image_filename_set(
        HIG_ARTX_IMAGE hMark,
        LPSTR lpszFileName
);

Arguments:

Name Type Description
hMark HIG_ARTX_IMAGE Annotation handle.
lpszFileName LPSTR Specifies pointer to buffer with image file to set. If this parameter is NULL, the existing image is removed from the annotation.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.