Emgu CV Library Documentation
GetTextSize Method (text, baseline)
NamespacesEmgu.CVMCvFontGetTextSize(String, Int32)

Calculates the binding rectangle for the given text string when the font is used
Declaration Syntax
C#Visual BasicVisual C++
public MCvSize GetTextSize(
	string text,
	int baseline
Public Function GetTextSize ( _
	text As String, _
	baseline As Integer _
) As MCvSize
MCvSize GetTextSize(
	String^ text, 
	int baseline
text (String)
Input string
baseline (Int32)
y-coordinate of the baseline relatively to the bottom-most text point
Return Value
size of the text string. Height of the text does not include the height of character parts that are below the baseline

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