ImageGear for C and C++ on Windows v19.7 - Updated
IG_ARTX_text_pinup_create
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_PINUPTEXT > IG_ARTX_text_pinup_create

This function creates a new instance of Text annotation (IG_ARTX_MARK_PIN_UP_TEXT).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_text_pinup_create(
        LPAT_RECTANGLE pRectangle,
        LPSTR lpszText,
        LPAT_ARTX_FONT lpFont,
        LPAT_RGBQUAD pTextColor,
        LPAT_ARTX_PIN pTextPin,
        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.
pTextColor LPAT_RGBQUAD Text color.
pTextPin LPAT_ARTX_PIN Attributes of pin icon to drawn over text annotation. NULL if no pin should be set .
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: