OverlayBitmap.DrawText Method |
|||||||||||||||||||||||
This method draws text on the live video. | |||||||||||||||||||||||
Syntax: | Public Sub DrawText( color As Long, column As Long, row As Long, text As String ) |
||||||||||||||||||||||
|
|||||||||||||||||||||||
Limitations: | Run time only. Only after ICImagingControl.LiveStart has been called once. |
||||||||||||||||||||||
Remarks: | The method DrawText draws text on the live video. It uses the currently set Font, FontBackColor and the FontTransparent setting. |
||||||||||||||||||||||
Example: | This example demonstrates how to draw text at the coordinates (10/10) on the live video. Dim ob As OverlayBitmap Set ob = ICImagingControl1.OverlayBitmap ' Print some text with red color. ob.DrawText RGB(255, 0, 0), 10, 10, "IC Imaging Control" |
||||||||||||||||||||||
See also: | OverlayBitmap, OverlayBitmap.Font, OverlayBitmap.FontBackColor, OverlayBitmap.FontTransparent, ICImagingControl.LiveStart, ICImagingControl.LiveStop |