InfoConnect API Guide
Attachmate.Reflection.Emulation.UTS Namespace / IUtsScreen Interface / ScreenCoordinateToIndex Method
Screen row.
Screen column.


In This Topic
    ScreenCoordinateToIndex Method (IUtsScreen)
    In This Topic
    Converts screen position in row and column to linear screen buffer index.
    Syntax
    'Declaration
     
    
    Function ScreenCoordinateToIndex( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As Integer
    'Usage
     
    
    Dim instance As IUtsScreen
    Dim row As Integer
    Dim column As Integer
    Dim value As Integer
     
    value = instance.ScreenCoordinateToIndex(row, column)
    int ScreenCoordinateToIndex( 
       int row,
       int column
    )

    Parameters

    row
    Screen row.
    column
    Screen column.

    Return Value

    One-based screen index.
    Exceptions
    ExceptionDescription
    This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
    See Also