ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
iTransparentMagenta (Function)
In french: iMagentaTransparent
Modifies the management mode of Magenta color in order for this color to be considered as being transparent (or not) in all the forthcoming prints.
Reminder: By default, the Magenta color is printed as Magenta in the reports created in WLanguage and in the reports created in the report editor.
Example
// Prints Image1.BMP: the magenta color is transparent
iTransparentMagenta(True)
iPrintImage("Image1.BMP")
// Prints Image2.BMP: the magenta color is not transparent
iTransparentMagenta(False)
iPrintImage("Image2.BMP")
Syntax
iTransparentMagenta([<Enabled>])
<Enabled>: Optional boolean
  • True (default value): the Magenta color is replaced with transparent characters.
  • False: the Magenta color is printed as it is.
Remarks
  • As soon as iTransparentMagenta(True) is used, the Magenta color becomes transparent in all the prints performed until this function is called again.
  • iTransparentMagenta can be used several times in the same process.
  • Reminder: the Magenta color used to manage the transparency corresponds to RGB(255, 0, 255) where Red = 255, Green = 0 and Blue = 255.
Component: wd290prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help