Emgu CV Library Documentation
cvGetTextSize Method (textString, font, textSize, baseline)
NamespacesEmgu.CVCvInvokecvGetTextSize(String, MCvFont%, MCvSize%, Int32%)

Calculates the binding rectangle for the given text string when a specified font is used
Declaration Syntax
C#Visual BasicVisual C++
public static void cvGetTextSize(
	string textString,
	ref MCvFont font,
	ref MCvSize textSize,
	ref int baseline
Public Shared Sub cvGetTextSize ( _
	textString As String, _
	ByRef font As MCvFont, _
	ByRef textSize As MCvSize, _
	ByRef baseline As Integer _
static void cvGetTextSize(
	String^ textString, 
	MCvFont% font, 
	MCvSize% textSize, 
	int% baseline
textString (String)
Input string
font ( MCvFont %)
The font structure
textSize ( MCvSize %)
Resultant size of the text string. Height of the text does not include the height of character parts that are below the baseline
baseline ( Int32 %)
y-coordinate of the baseline relatively to the bottom-most text point

Assembly: Emgu.CV (Module: Emgu.CV) Version: (