Nevron.GraphicsCore Namespace / NGraphics Class / MeasureText Method / MeasureText(String,NTextStyle,NRectangleF) Method


In This Topic
    MeasureText(String,NTextStyle,NRectangleF) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Function MeasureText( _
       ByVal text As System.String, _
       ByVal textStyle As NTextStyle, _
       ByVal bounds As NRectangleF _
    ) As NSizeF
    'Usage
     
    
    Dim instance As NGraphics
    Dim text As System.String
    Dim textStyle As NTextStyle
    Dim bounds As NRectangleF
    Dim value As NSizeF
     
    value = instance.MeasureText(text, textStyle, bounds)
    public NSizeF MeasureText( 
       System.string text,
       NTextStyle textStyle,
       NRectangleF bounds
    )

    Parameters

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