'Declaration
Public Overloads Shared Function MeasureText( _ ByVal g As System.Drawing.Graphics, _ ByVal text As System.String, _ ByVal f As System.Drawing.Font, _ ByVal format As System.Drawing.StringFormat _ ) As System.Drawing.Size
'Usage
Dim g As System.Drawing.Graphics Dim text As System.String Dim f As System.Drawing.Font Dim format As System.Drawing.StringFormat Dim value As System.Drawing.Size value = NUIRenderer.MeasureText(g, text, f, format)
Parameters
- g
- text
- f
- format