Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
Number of screen rows.

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

Return Value

The StatusCode indicating the result of the operation.

...

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

...