Returns the width the text would be if output with the given text.
'Declaration
Public Overloads Function TextWidth( _
ByVal As String _
) As Single
'Usage
Dim instance As Draw
Dim text As String
Dim value As Single
value = instance.TextWidth(text)
Parameters
- text
- A string which represents the text to get the printed height of.
Return Value
A float value which represents the width of the text when printed.