ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 color Magenta is printed as Magenta both in reports created in WLanguage and in reports created with the Report Editor.
Example
// Imprime Image1.BMP : le magenta est transparent
iTransparentMagenta(True)
iPrintImage("Image1.BMP")
// Imprime Image2.BMP : le magenta est utilisé normalement
iTransparentMagenta(False)
iPrintImage("Image2.BMP")
Syntax
iTransparentMagenta([<Enabled>])
<Enabled>: Optional boolean
  • True (default value): Magenta is considered transparent.
  • Fake Magenta color is printed as 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 for transparency management corresponds to RGB(255, 0, 255) where Red = 255, Green = 0 and Blue = 255.
Component: wd300prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help