 
            This function creates a new instance of rich text annotation (IG_ARTX_MARK_RICH_TEXT).
| 
                        Copy Code
                     | |
|---|---|
| 
AT_ERRCOUNT ACCUAPI IG_ARTX_richtext_create(
        LPAT_RECTANGLE pRectangle,
        LPSTR lpszText,
        LPAT_ARTX_BORDER pBorder,
        LPAT_RGBQUAD pFillColor,
        AT_INT nOpacity,
        LPHIG_ARTX_RICHTEXT lphMark
);
 | |
| Name | Type | Description | 
|---|---|---|
| pRectangle | LPAT_RECTANGLE | Annotation bounding rectangle. | 
| lpszText | LPSTR | Pointer to buffer with annotation text (in RTF format). | 
| pBorder | LPAT_ARTX_BORDER | Attributes of annotation border, or NULL if no border should be used. | 
| pFillColor | LPAT_RGBQUAD | Annotation fill color. | 
| nOpacity | AT_INT | Annotation opacity value. | 
| lphMark | LPHIG_ARTX_RICHTEXT | Pointer to storage for new annotation handle. | 
Error count.
This function does not process image pixels.
Upon successful completion: