Translate page

Screen.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#
public StatusCode GetScreenSize(
	ref int rows,
	ref int columns
)
Visual Basic (Declaration)
Public Function GetScreenSize ( _
	ByRef rows As Integer, _
	ByRef columns As Integer _
) As StatusCode
Visual C++
public:
virtual StatusCode GetScreenSize(
	int% rows, 
	int% columns
) sealed
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.


Implements

IScreen..::.GetScreenSize(Int32%, Int32%)

See Also


Screen Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

Copyright 2009 by Jolly Giant Software, Inc.