Nevron .NET Vision
Nevron.GraphicsCore Namespace / N2DDevice Class / MeasureString Method / MeasureString(String) Method


In This Topic
    MeasureString(String) Method
    In This Topic
    Measures the specified string when drawn with the active font style.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function MeasureString( _
       ByVal s As System.String _
    ) As NSizeF
    'Usage
     
    
    Dim instance As N2DDevice
    Dim s As System.String
    Dim value As NSizeF
     
    value = instance.MeasureString(s)
    public virtual NSizeF MeasureString( 
       System.string s
    )

    Parameters

    s
    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