1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 09:10:37 +00:00
qb64/internal/help/_PRINTMODE_(function).txt
2021-02-28 11:47:33 -03:00

29 lines
887 B
Plaintext

{{DISPLAYTITLE:_PRINTMODE (function)}}
The [[_PRINTMODE (function)|_PRINTMODE]] function returns the current [[_PRINTMODE]] status as a numerical value from 1 to 3 in graphic screen modes.
{{PageSyntax}}
: {{Parameter|currentPrintMode}} = [[_PRINTMODE (function)|_PRINTMODE]][({{Parameter|imageHandle&}})]
{{PageParameters}}
* 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:
** '''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]]
{{PageNavigation}}