Nevron .NET Vision
Nevron.GraphicsCore.Renderers Namespace / INTextRenderer Interface / MeasureText Method / MeasureText(NTextStyle,String) Method


In This Topic
    MeasureText(NTextStyle,String) Method
    In This Topic
    Returns the size of the text in device units
    Syntax
    'Declaration
     
    
    Overloads Function MeasureText( _
       ByVal textStyle As NTextStyle, _
       ByVal text As System.String _
    ) As NSizeF
    'Usage
     
    
    Dim instance As INTextRenderer
    Dim textStyle As NTextStyle
    Dim text As System.String
    Dim value As NSizeF
     
    value = instance.MeasureText(textStyle, text)
    NSizeF MeasureText( 
       NTextStyle textStyle,
       System.string text
    )

    Parameters

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