AnnGetTransparent method (Annotation Control)
Builder Syntax |
int AnnGetTransparent(HANNOBJECT hObject, bool &bTransparent); |
Delphi Syntax |
Function AnnGetTransparent(hObject: HANNOBJECT; var bTransparent: Boolean): L_INT; |
Overview |
Refer to Implementing Annotations. |
Remarks
(Document/Medical only) Gets a value indicating whether the bitmap is using a transparent color. A transparent color is not painted when painting an image.
The AnnGetTransparent method is valid only for the following object types when they are using a bitmap:
In addition, the Automation object (ANNOBJECT_AUTOMATION) stores transparency settings along with the other object default settings
Use the AnnSetTransparent method to set such objects to use a transparent color. By default the transparent color is white (0x00FFFFFF). Use the AnnSetTransparentColor method to set the color to be used as the transparent color. Use the AnnGetTransparent method to get a value that indicates whether the bitmap being used by the annotation object is using a transparent color. Use the AnnGetTransparentColor method to get a value that indicates which color is being used as the transparent color.
See Also