PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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 on the declaration of this type of variable and the use of WLanguage properties.
Versions 24 and later
WEBDEV - Server codeWindows This type of variable is now available for WEBDEV sites in Windows.
New in version 24
WEBDEV - Server codeWindows This type of variable is now available for WEBDEV sites in Windows.
WEBDEV - Server codeWindows This type of variable is now available for WEBDEV sites in Windows.
Example
// Displays the product image in an Image control
PROCEDURE DisplayProduct(ImageControl is Control, sWDPicName is string, bPromo is boolean)
 
MyImage is WDPic
MyImage..FileName = sWDPicName
ImageLayerVisible(MyImage, "Promo layer", bPromo)
 
ImageControl..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 version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment