Previous: SetGraphBufSize procedure To the Table of Content Next: SetLineStyle procedure

- 4.37.2.104 -
Standard Units
Graph Unit
Graph Unit Procedures and Functions

SetGraphMode procedure

Targets: MS-DOS, Win32


Graph Unit

Sets the system to graphics mode and clears the screen.

Declaration:
procedure SetGraphMode(Mode: Word);
Remarks:
Mode must be a valid mode for the current video adapter. This procedure supports all VESA VBE graphic modes (100h - FFFh), which are supported by video adapter.

Example:
  SetGraphMode($101); //set SVGA 256-colored mode 640x480
  SetGraphMode($114); // set SVGA 64K-colored mode 800x600
  SetGraphMode($12A); // set SVGA 16M+A-colored mode 1024x768
Keep in mind what your video card may not support all these modes. See GetVbeModesList and TotalVbeModes.


Previous: SetGraphBufSize procedure To the Table of Content Next: SetLineStyle procedure
SetGraphBufSize procedure Table of Content SetLineStyle procedure

- 4.37.2.104 -