ArcBasicDocs

GfxModeExists

True if a display mode is supported.

GfxModeExists ( width,height,depth )

Parameters

width
pixels across.
height
pixels down.
depth
accepted for older programs; it doesn't matter.

Description

Tells you whether a 2D display of a given size can be used: 1 if it fits on the screen, 0 if it doesn't.

See also