This function creates a new instance of Button annotation (IG_ARTX_MARK_BUTTON).
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_ARTX_button_create(
LPAT_RECTANGLE pRectangle,
LPSTR lpszText,
LPAT_ARTX_FONT lpFont,
LPAT_RGBQUAD pFillColor,
LPAT_RGBQUAD pTextColor,
AT_INT nOpacity,
LPHIG_ARTX_MARK lphMark
);
|
|
| Name | Type | Description |
|---|---|---|
| pRectangle | LPAT_RECTANGLE | Annotation bounding rectangle. |
| lpszText | LPSTR | Text string drawn on button. |
| lpFont | LPAT_ARTX_FONT | Attributes of font to be used for text drawing. |
| pFillColor | LPAT_RGBQUAD | Button fill color. |
| pTextColor | LPAT_RGBQUAD | Text color. |
| nOpacity | AT_INT | Annotation opacity value. |
| lphMark | LPHIG_ARTX_MARK | Pointer to storage for new annotation handle. |
Error count.
This function does not process image pixels.
Upon successful completion: