Nevron .NET Vision
Nevron.UI Namespace / NTextRenderer Class / MeasureRichText Method


In This Topic
    MeasureRichText Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function MeasureRichText( _
       ByVal context As NPaintContext, _
       ByVal r As NRectangle, _
       ByVal text As System.String, _
       ByVal style As NThemeStyle, _
       ByVal to As TextOrientation _
    ) As NSize
    'Usage
     
    
    Dim context As NPaintContext
    Dim r As NRectangle
    Dim text As System.String
    Dim style As NThemeStyle
    Dim to As TextOrientation
    Dim value As NSize
     
    value = NTextRenderer.MeasureRichText(context, r, text, style, to)
    public static NSize MeasureRichText( 
       NPaintContext context,
       NRectangle r,
       System.string text,
       NThemeStyle style,
       TextOrientation to
    )

    Parameters

    context
    r
    text
    style
    to
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also