Translate page

QWS3270.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#
public bool GetSessionSize(
	Object sessionID,
	out int rows,
	out int columns
)
Visual Basic (Declaration)
Public Function GetSessionSize ( _
	sessionID As Object, _
	<OutAttribute> ByRef rows As Integer, _
	<OutAttribute> ByRef columns As Integer _
) As Boolean
Visual C++
public:
virtual bool GetSessionSize(
	Object^ sessionID, 
	[OutAttribute] int% rows, 
	[OutAttribute] int% columns
) sealed
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.

Implements

IQWS3270..::.GetSessionSize(Object, Int32%, Int32%)

See Also


QWS3270 Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.