PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
dEncrustColor (Function)
In French: dIncrusteCouleur
Encrusts a color in an image found in an Image variable. The color is applied to the content of the image. Using the opacity allows you to get specific effects.
Linux Caution: A specific configuration is required to use this function in Linux. See The drawings for more details.
Versions 18 and later
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
New in version 18
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Use an Image variable
MyImage is Image
MyImage = "image.png"
// Encrusts the Yellow Toolhelp color with an opacity set to 5%
dEncrustColor(MyImage, YellowToolhelp, 5)
// Displays the image in an Image control
IMG_LandscapeImage = MyImage
Syntax
dEncrustColor(<Image> , <Color to Encrust> [, <Opacity>])
<Image>: Image variable
Image variable corresponding to the image to use.
<Color to Encrust>: Integer
Color that must be encrusted in the image. This color corresponds to:
<Opacity>: Optional real
Percentage of opacity used for the encrusted color (100% by default, no opacity is applied).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230pnt.dll
Java wd230java.jar
Linux wd230pnt.so
Android wd230android.jar
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment