PRINTMODE (function) - QB64 Wiki

PRINTMODE (function)

From QB64 Wiki

Revision as of 18:01, 9 June 2012 by Clippy (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The _PRINTMODE function returns the present _PRINTMODE status as a numerical value from 1 to 3 in graphic screen modes only.


Syntax:

status% = _PRINTMODE[(image_handle)]


Description:

  • If no image_handle parameter is given the current destination SCREEN page or image is assumed to be the image surface.
  • Returns a status value from 1 to 3 designating the current mode setting:
1: mode is _KEEPBACKGROUND
2: mode is _ONLYBACKGROUND
3: mode is _FILLBACKGROUND (default)
  • NOTE: The _PRINTMODE statement and function can only be used in graphic screen modes, NOT SCREEN 0


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page