ImageGear Professional DLL v18.1 for Windows
IG_ARTX_text_from_file_create
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_TEXTFROMFILE > IG_ARTX_text_from_file_create

Glossary Item Box

This function creates a new instance of Text-from-File annotation (HIG_ARTX_MARK_TEXT_FROM_FILE).

Declaration:

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

Arguments:

Name Type Description
pRectangle LPAT_RECTANGLE A pointer to the annotation bounding rectangle.
lpszText LPSTR The annotation text string. The value of the text string is the path to a file. The annotation is drawn using the contents of this file.
lpFont LPAT_ARTX_FONT The annotation text font.
pTextColor LPAT_RGBQUAD The annotation text color.
lphMark LPHIG_ARTX_MARK Pointer to storage that is overwritten with the new annotation handle.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Upon successful completion:

©2014. Accusoft Corporation. All Rights Reserved.