This function creates a new instance of Button annotation (IG_ARTX_MARK_BUTTON).
Declaration:
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
);
|
|
Arguments:
| pRectangle | Annotation bounding rectangle. |
| lpszText | Text string drawn on button. |
| lpFont | Attributes of font to be used for text drawing. |
| pFillColor | Button fill color. |
| pTextColor | Text color. |
| nOpacity | Annotation opacity value. |
| lphMark | Pointer to storage for new annotation handle. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
