_PRINTMODE (function)

From QB64 Phoenix Edition Wiki
Revision as of 15:24, 19 April 2022 by SMcNeill (talk | contribs) (Created page with "{{DISPLAYTITLE:_PRINTMODE (function)}} The _PRINTMODE function returns the current _PRINTMODE status as a numerical value from 1 to 3 in graphic screen modes. {{PageSyntax}} : {{Parameter|currentPrintMode}} = _PRINTMODE[({{Parameter|imageHandle&}})] {{Parameters}} * If no {{Parameter|imageHandle&}} is given, the current destination SCREEN page or image is assumed. {{PageDescription}} * Returns a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


Syntax

currentPrintMode = _PRINTMODE[(imageHandle&)]


Template:Parameters

  • If no imageHandle& is given, the current destination SCREEN page or image is assumed.


Description

  • 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)
  • The _PRINTMODE statement and function can only be used in graphic screen modes, not SCREEN 0


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link