Click or drag to resize
CvInvokeGetTextSize Method
http://www.emgu.com
Calculates the width and height of a text string.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static Size GetTextSize(
	string text,
	FontFace fontFace,
	double fontScale,
	int thickness,
	ref int baseLine
)

Parameters

text
Type: SystemString
Input text string.
fontFace
Type: Emgu.CV.CvEnumFontFace
Font to use
fontScale
Type: SystemDouble
Font scale factor that is multiplied by the font-specific base size.
thickness
Type: SystemInt32
Thickness of lines used to render the text.
baseLine
Type: SystemInt32
Y-coordinate of the baseline relative to the bottom-most text point.

Return Value

Type: Size
The size of a box that contains the specified text.
See Also