PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Blends two images together. This allows you to create fade-in effects between 2 images.
Versions 18 and later
Android This function is now available for Android applications.
New in version 18
Android This function is now available for Android applications.
Android This function is now available for Android 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
MyImage is Image = "Test.gif"
// Declare the promotion image
MyPromoImage is Image = "PromoImage.png"
// Blend the promotion image in the product image with an opacity set to 80%
MyImage.AlphaBlend(MyPromoImage, 80)
IMG_MyDrawing = MyImage
 
Syntax
<Destination image>.AlphaBlend(<Source image> [, <Opacity>])
<Destination image>: Image variable
Name of the Image variable in which the blend must be performed. For the blend, this image will be considered as the background image.
<Source image>: Image control or Image, WDPic or picLayer variable
Image to merge. This image can correspond to:
  • the name of an Image control.
  • the name of an Image variable.
<Opacity>: Optional real
Percentage of opacity that must be applied to <Source image> before performing the blend (100% by default, no opacity is applied).
Remarks
  • The size of the destination image corresponds to the reference size.
  • <Image variable>.AlphaBlend performs the merge by keeping the alpha layer of the destination image. Therefore, the alpha layer of the source image is not used.
Component : wd250pnt.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment