OverlayBitmap.FontBackColor Property |
||
| Returns or sets the background color for OverlayBitmap.DrawText. | ||
| Syntax: | Public FontBackColor As Long |
|
| Limitations: | Run time only. |
|
| Remarks: | If the FontBackColor is equal to the DropOutColor, the surrounding solid rectangle of the text (text background) is not visible. The default value for FontBackColor> is black. |
|
| Example: | This example demonstrates how to use the FontBackColor property. Dim ob As OverlayBitmap Set ob = ICImagingControl1.OverlayBitmap ' Use a blue background with red text. ob.FontTransparent = False ob.FontBackColor = RGB(0,0,255) ob.DrawText RGB(255, 0, 0), 10, 10, "IC Imaging Control red on blue" |
|
| See also: | OverlayBitmap, OverlayBitmap.DrawText, OverlayBitmap.Font, OverlayBitmap.FontTransparent | |