ImageGear for C and C++ on Windows v20.1 - Updated
IG_ARTX_text_note_create
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_NOTE > IG_ARTX_text_note_create

This function creates a new instance of Text-note annotation (IG_ARTX_MARK_ATTACH_A_NOTE).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_note_create(
        LPAT_RECTANGLE pRectangle,
        LPSTR lpszText,
        LPAT_ARTX_FONT lpFont,
        LPAT_RGBQUAD pFillColor,
        LPAT_RGBQUAD pTextColor,
        LPHIG_ARTX_MARK lphMark
);

Arguments:

Name Type Description
pRectangle LPAT_RECTANGLE Annotation bounding rectangle.
lpszText LPSTR Text string drawn on annotation.
lpFont LPAT_ARTX_FONT Attributes of font to be used for text drawing.
pFillColor LPAT_RGBQUAD Annotation fill color.
pTextColor LPAT_RGBQUAD Text color.
lphMark LPHIG_ARTX_MARK Pointer to storage for new annotation handle.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Upon successful completion:

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