Nevron.UI Namespace / NImageAndTextLayout Class / MeasureText Method


In This Topic
    MeasureText Method (NImageAndTextLayout)
    In This Topic
    Syntax
    'Declaration
     
    
    Protected Overridable Function MeasureText( _
       ByVal context As NPaintContext, _
       ByVal item As NImageAndTextItem, _
       ByVal text As System.String, _
       ByVal availableBounds As NRectangle _
    ) As NSize
    'Usage
     
    
    Dim instance As NImageAndTextLayout
    Dim context As NPaintContext
    Dim item As NImageAndTextItem
    Dim text As System.String
    Dim availableBounds As NRectangle
    Dim value As NSize
     
    value = instance.MeasureText(context, item, text, availableBounds)
    protected virtual NSize MeasureText( 
       NPaintContext context,
       NImageAndTextItem item,
       System.string text,
       NRectangle availableBounds
    )

    Parameters

    context
    item
    text
    availableBounds
    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