InfoConnect for Unisys
ScreenCoordinateToIndex Method (IIbmScreen)


Screen row.
Screen column.
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 IIbmScreen
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
System.ArgumentOutOfRangeException 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