'Declaration
Public Overloads Shared Function MeasureText( _ ByVal context As NPaintContext, _ ByVal style As NThemeStyle, _ ByVal bounds As NRectangle, _ ByVal text As System.String, _ ByVal textOrientation As TextOrientation _ ) As NSize
'Usage
Dim context As NPaintContext Dim style As NThemeStyle Dim bounds As NRectangle Dim text As System.String Dim textOrientation As TextOrientation Dim value As NSize value = NTextRenderer.MeasureText(context, style, bounds, text, textOrientation)
public static NSize MeasureText( NPaintContext context, NThemeStyle style, NRectangle bounds, System.string text, TextOrientation textOrientation )
Parameters
- context
- style
- bounds
- text
- textOrientation