OverlayBitmap.FontBackColor Property |
| Returns or sets the background color for OverlayBitmap.DrawText. |
| Syntax: |
|
[VB.NET] Public FontBackColor As System.Drawing.Color
[C#] public System.Drawing.Color FontBackColor;
|
| 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.
[VB.NET] Dim ob As OverlayBitmap
ob = ICImagingControl1.OverlayBitmap
ob.FontTransparent = False
ob.FontBackColor = System.Drawing.Color.Blue
ob.DrawText(System.Drawing.Color.Red, 10, 10, "IC Imaging Control red on blue")
[C#] OverlayBitmap ob = ICImagingControl1.OverlayBitmap;
ob.FontTransparent = false;
ob.FontBackColor = System.Drawing.Color.Blue;
ob.DrawText(System.Drawing.Color.Red, 10, 10, "IC Imaging Control red on blue");
|
| See also: |
|
OverlayBitmap, OverlayBitmap.DrawText, OverlayBitmap.Font, OverlayBitmap.FontTransparent |
<< ICImagingControl.OverlayBitmap
© 1991-2008 The Imaging Source Europe GmbH. All rights reserved.