Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NColorBar Class / ValueFromPoint Method


In This Topic
    ValueFromPoint Method (NColorBar)
    In This Topic
    Gets the value corresponding to the given point.
    Syntax
    'Declaration
     
    
    Protected MustOverride Function ValueFromPoint( _
       ByVal colorBarRectangle As NRectangle, _
       ByVal pt As NPoint _
    ) As System.Single
    'Usage
     
    
    Dim instance As NColorBar
    Dim colorBarRectangle As NRectangle
    Dim pt As NPoint
    Dim value As System.Single
     
    value = instance.ValueFromPoint(colorBarRectangle, pt)
    protected abstract System.float ValueFromPoint( 
       NRectangle colorBarRectangle,
       NPoint pt
    )

    Parameters

    colorBarRectangle
    pt
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also