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


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

    Parameters

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