Difference between revisions of "PRINTMODE"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Clippy
m
Line 11: Line 11:
 
* One of 3 modes is '''mandatory''' when using this statement.
 
* One of 3 modes is '''mandatory''' when using this statement.
  
:*'''1''' _KEEPBACKGROUND Text background transparent. Only the text is displayed over anything behind them.
+
:*'''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 them.
+
:*'''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.
 
:*'''3''' _FILLBACKGROUND Text and background block anything behind them like a normal [[PRINT]]. Default setting.
  

Revision as of 13:00, 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.
  • 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