Translate page

IScreen_GetScreenSize Method

Retrieves the number of rows and columns of the screen.

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

Syntax

C#
StatusCode GetScreenSize(
	ref int rows,
	ref int columns
)
Visual Basic (Declaration)
Function GetScreenSize ( _
	ByRef rows As Integer, _
	ByRef columns As Integer _
) As StatusCode
Visual C++
StatusCode GetScreenSize(
	int% rows, 
	int% columns
)
JavaScript
function GetScreenSize(rows, columns);


Parameters

rows
Type: System..Int32
Number of screen rows.

columns
Type: System..Int32
Number of screen columns.

Return Value

The StatusCode indicating the result of the operation.

This can be one of the following values:

Status codeDescription
OkThe screen size was retrieved successfully.
WHLLNOTCONNECTEDYour application is not currently connected to a valid presentation space (see Connect(Object)).
WHLLUNKNOWNAn unknown error has occurred.


See Also


IScreen Interface
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.