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

Glossary Item Box

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

Declaration:

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

Arguments:

pRectangle Annotation bounding rectangle.
hGear Handle of the image to associate with the new annotation. A copy of the 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.
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.