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.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public Size GetTextSize( string text, int baseline ) |
Visual Basic (Declaration) |
---|
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