'Declaration
Public Overloads Shared Function MeasureText( _ ByVal g As System.Drawing.Graphics, _ ByVal r As NRectangle, _ ByVal text As System.String, _ ByVal f As System.Drawing.Font, _ ByVal flags As System.Integer, _ ByVal to As TextOrientation _ ) As NSize
'Usage
Dim g As System.Drawing.Graphics Dim r As NRectangle Dim text As System.String Dim f As System.Drawing.Font Dim flags As System.Integer Dim to As TextOrientation Dim value As NSize value = NTextRenderer.MeasureText(g, r, text, f, flags, to)
public static NSize MeasureText( System.Drawing.Graphics g, NRectangle r, System.string text, System.Drawing.Font f, System.int flags, TextOrientation to )
Parameters
- g
- r
- text
- f
- flags
- to