Difference between revisions of "PRINTMODE"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Clippy
m
Line 9: Line 9:
 
{{PageDescription}}
 
{{PageDescription}}
 
* If the image handle is omitted it will use the current destination image background.
 
* If the image handle is omitted it will use the current destination image background.
* One of 3 modes is '''mandatory''' when using this statement.
+
* One of 3 modes is '''mandatory''' when using this statement to deal with the text background.
 
 
:*'''1''' _KEEPBACKGROUND Text background transparent. Only the text is displayed over anything behind it.
 
:*'''2''' _ONLYBACKGROUND Text background is only displayed. Text is transparent to anything behind it.
 
:*'''3''' _FILLBACKGROUND Text and background block anything behind them like a normal [[PRINT]]. Default setting.
 
  
 +
:*'''1''' _KEEPBACKGROUND: Text background transparent. Only the text is displayed over anything behind it.
 +
:*'''2''' _ONLYBACKGROUND: Text background is only displayed. Text is transparent to anything behind it.
 +
:*'''3''' _FILLBACKGROUND: Text and background block anything behind them like a normal [[PRINT]]. Default setting.
 +
* Use the [[_PRINTMODE (function)]] to find the current _PRINTMODE setting number.
  
  

Revision as of 13:11, 25 October 2010

The _PRINTMODE statement sets the font printing mode on a background image.


Syntax

_PRINTMODE mode[,image_handle]


Description

  • If the image handle is omitted it will use the current destination image background.
  • One of 3 modes is mandatory when using this statement to deal with the text background.
  • 1 _KEEPBACKGROUND: Text background transparent. Only the text is displayed over anything behind it.
  • 2 _ONLYBACKGROUND: Text background is only displayed. Text is transparent to anything behind it.
  • 3 _FILLBACKGROUND: Text and background block anything behind them like a normal PRINT. Default setting.



See also




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