Nevron .NET Vision
Nevron.UI Namespace / NTextRenderer Class / MeasureText Method / MeasureText(Graphics,NRectangle,String,Font,Int32) Method


In This Topic
    MeasureText(Graphics,NRectangle,String,Font,Int32) Method
    In This Topic
    Syntax
    '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 _
    ) 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 value As NSize
     
    value = NTextRenderer.MeasureText(g, r, text, f, flags)
    public static NSize MeasureText( 
       System.Drawing.Graphics g,
       NRectangle r,
       System.string text,
       System.Drawing.Font f,
       System.int flags
    )

    Parameters

    g
    r
    text
    f
    flags
    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