Cv2GetTextSize Method OpenCvSharp Class Library
returns bounding box of the text string

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static Size GetTextSize(
	string text,
	FontFace fontFace,
	double fontScale,
	int thickness,
	out int baseLine
)

Parameters

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetTextSize(System.String,OpenCvSharp.FontFace,System.Double,System.Int32,System.Int32@)"]

fontFace
Type: OpenCvSharpFontFace

[Missing <param name="fontFace"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetTextSize(System.String,OpenCvSharp.FontFace,System.Double,System.Int32,System.Int32@)"]

fontScale
Type: SystemDouble

[Missing <param name="fontScale"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetTextSize(System.String,OpenCvSharp.FontFace,System.Double,System.Int32,System.Int32@)"]

thickness
Type: SystemInt32

[Missing <param name="thickness"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetTextSize(System.String,OpenCvSharp.FontFace,System.Double,System.Int32,System.Int32@)"]

baseLine
Type: SystemInt32

[Missing <param name="baseLine"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetTextSize(System.String,OpenCvSharp.FontFace,System.Double,System.Int32,System.Int32@)"]

Return Value

Type: Size

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.GetTextSize(System.String,OpenCvSharp.FontFace,System.Double,System.Int32,System.Int32@)"]

See Also

Reference