This function sets the annotation opacity.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_ARTX_text_opacity_set( HIG_ARTX_TEXT hMark, AT_INT nOpacity ); |
Arguments:
Name | Type | Description |
hMark | HIG_ARTX_TEXT | Annotation handle. |
nOpacity | AT_INT | The new Opacity value to assign. |
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:
- Valid values are 0 through 255.
- An opacity value equal to 0 is transparent.
- Any opacity value from 1 to 254 is translucent.
- An opacity value equal to 255 is opaque.