Click or drag to resize

MatPutText Method

renders text string in the image

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public void PutText(
	string text,
	Point org,
	HersheyFonts fontFace,
	double fontScale,
	Scalar color,
	int thickness = 1,
	LineTypes lineType = LineTypes.Link8,
	bool bottomLeftOrigin = false
)

Parameters

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:OpenCvSharp.Mat.PutText(System.String,OpenCvSharp.Point,OpenCvSharp.HersheyFonts,System.Double,OpenCvSharp.Scalar,System.Int32,OpenCvSharp.LineTypes,System.Boolean)"]

org
Type: OpenCvSharpPoint

[Missing <param name="org"/> documentation for "M:OpenCvSharp.Mat.PutText(System.String,OpenCvSharp.Point,OpenCvSharp.HersheyFonts,System.Double,OpenCvSharp.Scalar,System.Int32,OpenCvSharp.LineTypes,System.Boolean)"]

fontFace
Type: OpenCvSharpHersheyFonts

[Missing <param name="fontFace"/> documentation for "M:OpenCvSharp.Mat.PutText(System.String,OpenCvSharp.Point,OpenCvSharp.HersheyFonts,System.Double,OpenCvSharp.Scalar,System.Int32,OpenCvSharp.LineTypes,System.Boolean)"]

fontScale
Type: SystemDouble

[Missing <param name="fontScale"/> documentation for "M:OpenCvSharp.Mat.PutText(System.String,OpenCvSharp.Point,OpenCvSharp.HersheyFonts,System.Double,OpenCvSharp.Scalar,System.Int32,OpenCvSharp.LineTypes,System.Boolean)"]

color
Type: OpenCvSharpScalar

[Missing <param name="color"/> documentation for "M:OpenCvSharp.Mat.PutText(System.String,OpenCvSharp.Point,OpenCvSharp.HersheyFonts,System.Double,OpenCvSharp.Scalar,System.Int32,OpenCvSharp.LineTypes,System.Boolean)"]

thickness (Optional)
Type: SystemInt32

[Missing <param name="thickness"/> documentation for "M:OpenCvSharp.Mat.PutText(System.String,OpenCvSharp.Point,OpenCvSharp.HersheyFonts,System.Double,OpenCvSharp.Scalar,System.Int32,OpenCvSharp.LineTypes,System.Boolean)"]

lineType (Optional)
Type: OpenCvSharpLineTypes

[Missing <param name="lineType"/> documentation for "M:OpenCvSharp.Mat.PutText(System.String,OpenCvSharp.Point,OpenCvSharp.HersheyFonts,System.Double,OpenCvSharp.Scalar,System.Int32,OpenCvSharp.LineTypes,System.Boolean)"]

bottomLeftOrigin (Optional)
Type: SystemBoolean

[Missing <param name="bottomLeftOrigin"/> documentation for "M:OpenCvSharp.Mat.PutText(System.String,OpenCvSharp.Point,OpenCvSharp.HersheyFonts,System.Double,OpenCvSharp.Scalar,System.Int32,OpenCvSharp.LineTypes,System.Boolean)"]

See Also