DarkBASIC Professional Help File

DX11 GET DISPLAY MODE HEIGHT

Retrieves the height, in pixels, of the n:th available display mode.

Syntax

    Return Dword = DX11 GET DISPLAY MODE HEIGHT(id)

Parameters

    id

> Dword
> The supported display mode to get the height of. The valid range of indices is 0..(DX11 GET DISPLAY MODE COUNT() - 1).

Returns

The height of the display mode id in pixels, or zero if there is no such display mode (ie. id is out of range).

See also

DISPLAY Functions Menu
DX11 Function Categories