Xamarin.Android | ComponentOne
C1.Android.Input Assembly / C1.Android.Input Namespace / C1TextBox Class / GetOffsetForPosition Method


In This Topic
    GetOffsetForPosition Method (C1TextBox)
    In This Topic
    Syntax
    'Declaration
     
    
    <Android.Runtime.RegisterAttribute("getOffsetForPosition", 
       "(FF)I", 
       "GetGetOffsetForPosition_FFHandler", 
       ApiSince=14)>
    Public Overridable Function GetOffsetForPosition( _
       ByVal x As Single, _
       ByVal y As Single _
    ) As Integer
    'Usage
     
    
    Dim instance As C1TextBox
    Dim x As Single
    Dim y As Single
    Dim value As Integer
     
    value = instance.GetOffsetForPosition(x, y)
    [Android.Runtime.Register("getOffsetForPosition", 
       "(FF)I", 
       "GetGetOffsetForPosition_FFHandler", 
       ApiSince=14)]
    public virtual int GetOffsetForPosition( 
       float x,
       float y
    )

    Parameters

    x
    y
    See Also