PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV 23 feature!
  • Properties specific to the description of WDPic variables
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
The WDPic type is used to define the advanced characteristics of an image in ".wdpic" format. The characteristics of this image can be defined and modified by several WLanguage properties.
This type is mainly used to make the layers visible/invisible by programming (ImageLayerVisible).
Note: See Declaring a variable for more details.
Example
// Displays the product image in an Image control
PROCÉDURE DisplayProduct(sImageControl is Control, sWDPicName is string, bPromo is boolean)

MyImage is WDPic
MyImage..FileName = sWDPicName
ImageLayerVisible(MyImage, "Promo layer", bPromo)

sImageControl..Value = MyImage
Remarks

Properties specific to the description of WDPic variables

The following properties can be used to handle an image in "wdpic" format:
Property nameType usedEffect
ImageImage associated with the variable. This property is available in read-only.
FileNameCharacter stringName of ".wdpic" file.

Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment