ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1RangeSlider Class / PixelsToUnits Method



In This Topic
    PixelsToUnits Method (C1RangeSlider)
    In This Topic
    Converts pixels to it´s corresponding unit value in the range slider
    Syntax
    'Declaration
     
    
    Protected Overridable Function PixelsToUnits( _
       ByVal pixels As Double _
    ) As Double
    'Usage
     
    
    Dim instance As C1RangeSlider
    Dim pixels As Double
    Dim value As Double
     
    value = instance.PixelsToUnits(pixels)
    protected virtual double PixelsToUnits( 
       double pixels
    )
    protected:
    virtual double PixelsToUnits( 
       double pixels
    ) 

    Parameters

    pixels
    See Also