http://www.emgu.com
Calculates the binding rectangle for the given text string when the font is used

Namespace: Emgu.CV.Structure
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public Size GetTextSize(
	string text,
	int baseline
)
Visual Basic
Public Function GetTextSize ( 
	text As String,
	baseline As Integer
) As Size
Visual C++
public:
Size GetTextSize(
	String^ text, 
	int baseline
)
F#
member GetTextSize : 
        text : string * 
        baseline : int -> Size 

Parameters

text
Type: System..::..String
Input string
baseline
Type: System..::..Int32
y-coordinate of the baseline relatively to the bottom-most text point

Return Value

Type: Size
size of the text string. Height of the text does not include the height of character parts that are below the baseline

See Also