http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Calculates the binding rectangle for the given text string when the font is used
Namespace: Emgu.CV.StructureAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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 ) |
Parameters
- text
- Type: System..::..String
Input string
- baseline
- Type: System..::..Int32
y-coordinate of the baseline relatively to the bottom-most text point