InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IIbmScreen Interface / ScreenIndexToCoordinate Method
One-based screen index location. Range = 1 through (rows * columns).


In This Topic
    ScreenIndexToCoordinate Method (IIbmScreen)
    In This Topic
    Gets the screen coordinate of a screen location pointed to by screenIndex.
    Syntax
    'Declaration
     
    
    Function ScreenIndexToCoordinate( _
       ByVal screenIndex As Integer _
    ) As ScreenPoint
    'Usage
     
    
    Dim instance As IIbmScreen
    Dim screenIndex As Integer
    Dim value As ScreenPoint
     
    value = instance.ScreenIndexToCoordinate(screenIndex)
    ScreenPoint ScreenIndexToCoordinate( 
       int screenIndex
    )

    Parameters

    screenIndex
    One-based screen index location. Range = 1 through (rows * columns).

    Return Value

    A screen coordinate corresponding to a specified index.
    Exceptions
    ExceptionDescription
    This exception is thrown if the screenIndex parameter is outside the range of valid values.
    See Also