Renders the text in the image with the specified font and color. The printed text is clipped by ROI rectangle. Symbols that do not belong to the specified font are replaced with the rectangle symbol.

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvPutText(
	IntPtr img,
	string text,
	Point org,
	ref MCvFont font,
	MCvScalar color
)
Public Shared Sub cvPutText ( _
	img As IntPtr, _
	text As String, _
	org As Point, _
	ByRef font As MCvFont, _
	color As MCvScalar _
)
public:
static void cvPutText(
	IntPtr img, 
	String^ text, 
	Point org, 
	MCvFont% font, 
	MCvScalar color
)

Parameters

img
IntPtr
Input image
text
String
String to print
org
Point
Coordinates of the bottom-left corner of the first letter
font
MCvFont %
Pointer to the font structure
color
MCvScalar
Text color

See Also