Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NUIRenderer Class / MeasureText Method / MeasureText(String,Font) Method


In This Topic
    MeasureText(String,Font) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function MeasureText( _
       ByVal text As System.String, _
       ByVal f As System.Drawing.Font _
    ) As System.Drawing.Size
    'Usage
     
    
    Dim text As System.String
    Dim f As System.Drawing.Font
    Dim value As System.Drawing.Size
     
    value = NUIRenderer.MeasureText(text, f)
    public static System.Drawing.Size MeasureText( 
       System.string text,
       System.Drawing.Font f
    )

    Parameters

    text
    f
    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