Nevron .NET Vision
Nevron.UI Namespace / NTextShape Class / Measure Method


In This Topic
    Measure Method (NTextShape)
    In This Topic
    Measures the current text using the specified painting context and available bounds.
    Syntax
    'Declaration
     
    
    Public Overridable Function Measure( _
       ByVal context As NPaintContext, _
       ByVal availableBounds As NRectangle _
    ) As NSize
    'Usage
     
    
    Dim instance As NTextShape
    Dim context As NPaintContext
    Dim availableBounds As NRectangle
    Dim value As NSize
     
    value = instance.Measure(context, availableBounds)

    Parameters

    context
    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