ImageGear Professional DLL v17.1 for Windows Accusoft
IG_ARTX_image_create
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_IMAGE > IG_ARTX_image_create

Glossary Item Box

This function creates a new instance of image annotation (IG_ARTX_MARK_IMAGE).

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_image_create(
        LPAT_RECTANGLE pRectangle,
        HIGEAR hGear,
        enumIGOrientationModes nOrientation,
        enumFitModes    nFitMode,
        enumAlignModes  nAlignmentH,
        enumAlignModes  nAlignmentV,
        AT_FLOAT                dAspectRatio,
        LPSTR  lpszFileName,
        LPAT_RGBQUAD pTransparentColor,
        LPHIG_ARTX_IMAGE lphMark
);

Arguments:

pRectangle Annotation bounding rectangle.
hGear Handle of image to associate with new annotation. Copy of image is created and stored. This parameter can be NULL.
nOrientation Specifies orientation of image within annotation bounding rectangle. See enumIGOrientationModes.
nFitMode Specifies fit mode of image.
nAlignmentH Specifies horizontal alignment of image. See enumAlignModes.
nAlignmentV Specifies vertical alignment of image. See enumAlignModes.
dAspectRatio Specifies image aspect ratio.
lpszFileName Specifies name of file with image to associate with annotation. If hGear is not NULL, then lpszFileName is ignored. Otherwise image from lpszFileName FILE is used.
pTransparentColor Specifies transparent color.
lphMark Pointer to storage for new annotation handle.

Return Value:

Error count.

Supported Raster Image Formats:

All pixel formats supported by ImageGear Professional.

©2012. Accusoft Corporation. All Rights Reserved.