http://www.emgu.com
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.4.2.1777 (2.4.2.1777)

Syntax

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

Parameters

img
Type: System..::..IntPtr
Input image
text
Type: System..::..String
String to print
org
Type: System.Drawing..::..Point
Coordinates of the bottom-left corner of the first letter
font
Type: Emgu.CV.Structure..::..MCvFont%
Pointer to the font structure
color
Type: Emgu.CV.Structure..::..MCvScalar
Text color

See Also