Previous: 4.37.2.103. SetGraphBufSize procedure To the Table of Contents Next: 4.37.2.105. SetLineStyle procedure
4.37.2.103. SetGraphBufSize procedure Table of Contents 4.37.2.105. SetLineStyle procedure

- 4.37.2.104. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.104. SetGraphMode procedure


4.37.2.104. 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: 4.37.2.103. SetGraphBufSize procedure To the Table of Contents Next: 4.37.2.105. SetLineStyle procedure
4.37.2.103. SetGraphBufSize procedure Table of Contents 4.37.2.105. SetLineStyle procedure

- 4.37.2.104. -