Gets a value indicating whether the bitmap stamp is using a transparent color.
L_LTANN_API L_INT L_AnnGetTransparent(hObject, pbTransparent)
Handle of the annotation object
Address of the variable to be updated with a value indicating whether the bitmap stamp is transparent. Possible values are:
|TRUE||The bitmap stamp is using a transparent color.|
|FALSE||The bitmap stamp is not using a transparent color.|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Gets a value indicating whether the bitmap is using a transparent color. A transparent color is not painted when the image is painted.
The L_AnnGetTransparent function is valid only for the following object types when they are using a bitmap:
In addition, the Automation object stores transparency settings along with the other object default settings.
Call the L_AnnSetTransparent function to set such objects to use a transparent color. By default the transparent color is white (0x00FFFFFF). Call the L_AnnSetTransparentColor function to set the color to be used as the transparent color. Call the L_AnnGetTransparent function to get a value that indicates whether the bitmap being used by the annotation object is using a transparent color. Call the L_AnnGetTransparentColor function to get a value that indicates which color is being used as the transparent color.
For an example, refer to L_AnnSetTransparent.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries