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


In This Topic
    MeasureString(String,NSizeF) 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, _
       ByVal layoutArea As NSizeF _
    ) As NSizeF
    'Usage
     
    
    Dim instance As N2DDevice
    Dim s As System.String
    Dim layoutArea As NSizeF
    Dim value As NSizeF
     
    value = instance.MeasureString(s, layoutArea)
    public virtual NSizeF MeasureString( 
       System.string s,
       NSizeF layoutArea
    )

    Parameters

    s
    layoutArea
    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