ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Drawing functions
  • End of drawing
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Flips an image with respect to a vertical axis (symmetry with respect to a vertical axis). The image can correspond to:
  • an Image control,
  • a variable of type Image.
  • WINDEV a variable of type WDPic (on the background layer),
  • WINDEV a variable of type picLayer.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The drawings.
Example
// Vertical symmetry of the IMG_Image1 control
MyResult is boolean
MyResult = dVerticalSymmetry(IMG_Image1)
IF MyResult = False THEN Error("The operation failed")
Syntax
<Result> = dVerticalSymmetry(<Image>)
<Result>: Boolean
  • True if the symmetry was performed,
  • False otherwise.
<Image>: Name of the Image control, Image, WDPic or picLayer variable
Image to use. The image can correspond to:
  • the name of an Image control.
  • the name of a variable of type Image.
  • WINDEV the name of a variable of type WDPic. Only the background layer will be handled.
  • WINDEV the name of a variable of type picLayer.
The symmetry is performed in relation to the median vertical axis of the control or of the image. The image is directly modified.
Remarks

End of drawing

If dEndDrawing and dVerticalSymmetry are called in the same process, the image changes will not be displayed.
Component: wd290pnt.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help