Translate page

IQWS3270.GetSessionSize Method


Gets the size (number of rows and columns) of the specified session.

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

Syntax

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


Parameters

sessionID
Type: System...Object
The ID of the session to get the size of.

rows
Type: System...Int32
The number of rows in the presentation space.

columns
Type: System...Int32
The number of columns in the presentation space.

Return Value

true if the size of the session could successfully be retrieved, otherwise false, in which case the number of rows will be set to the default of 24, and the number of columns to 80.

See Also


IQWS3270 Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.