Translate page

RowColumnToPosition Method

Converts a position in row/column format to a 1-based position in the presentation space. The converted position ranges from 1 to the size of the presentation space.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
bool RowColumnToPosition(
	int row,
	int column,
	Object sessionID,
	out int position
)
Visual Basic (Declaration)
Function RowColumnToPosition ( _
	row As Integer, _
	column As Integer, _
	sessionID As Object, _
	<OutAttribute> ByRef position As Integer _
) As Boolean
Visual C++
bool RowColumnToPosition(
	int row, 
	int column, 
	Object^ sessionID, 
	[OutAttribute] int% position
)
JavaScript
function RowColumnToPosition(row, column, sessionID, position);


Parameters

row
Type: System..Int32
The row position to convert.

column
Type: System..Int32
The column position to convert.

sessionID
Type: System..Object
The sessionID for which to convert the row/column position.

position
Type: System.Int32
The converted 1-based presentation space position.

Return Value

true if the position is valid and could be successfully converted to a presentation space position, otherwise false.

Remarks

The screen position to be converted consists of a row and column. The row must be between 1 and the number of rows in the presentation space. The column must be between 1 and the number of columns in the presentation space. The default number of rows is 24, the default number of columns is 80.

The converted presentation space position is 1-based, and ranges from 1 to the size of the presentation space.

See Also


IQWS3270 Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.