1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 15:00:38 +00:00
QB64-PE/internal/help/_PRINTMODE_(function).txt

30 lines
885 B
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_PRINTMODE (function)}}
2017-10-10 14:55:21 +00:00
The [[_PRINTMODE (function)|_PRINTMODE]] function returns the current [[_PRINTMODE]] status as a numerical value from 1 to 3 in graphic screen modes.
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
: {{Parameter|currentPrintMode}} = [[_PRINTMODE (function)|_PRINTMODE]][({{Parameter|imageHandle&}})]
2016-03-18 11:36:04 +00:00
{{Parameters}}
2017-10-10 14:55:21 +00:00
* If no {{Parameter|imageHandle&}} is given, the current [[_DEST|destination]] [[SCREEN]] page or image is assumed.
{{PageDescription}}
* Returns a status value from 1 to 3 designating the current mode setting:
2017-10-10 14:55:21 +00:00
** '''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'''
{{PageSeeAlso}}
* [[_PRINTMODE]]
* [[_LOADFONT]]
* [[_NEWIMAGE]]
* [[_PRINTSTRING]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}
<