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.