Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • End of drawing
  • Pattern and PHP
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
Flips an image with respect to a vertical axis (symmetry with respect to a vertical axis). This image can correspond to:
  • an Image control,
  • an Image variable.
    PHP This type of variable is not available.
// Vertical symmetry of the IMG_Image1 control
MyResult is boolean
MyResult = dVerticalSymmetry(IMG_Image1)
IF MyResult = False THEN Error("The operation failed")
<Result> = dVerticalSymmetry(<Image>)
<Result>: Boolean
  • True if the symmetry was performed,
  • False otherwise.
<Image>: Name of Image control, Image, WDPic or picLayer variable
Image to use. This image can correspond to:
  • the name of an Image control.
  • the name of an Image variable.
    PHP This type of variable is not available.
The symmetry is performed in relation to the median vertical axis of the control or of the image. The image is directly modified.

End of drawing

The transformation of the image will not be displayed if dEndDrawing and dVerticalSymmetry are called in the same process.

Pattern and PHP

In PHP, the drawing functions are based on the graphic library GD. This library is commonly used by the PHP hosting companies and therefore it is always enabled. The version of the GD library must be version 2.0.28 (or later). This library can be downloaded from the PHP site.
To enable (if necessary) this library locally, the following elements are required:
  • PHP installed.
  • the PHP.INI file found in the Windows directory must contain the following line: "extension=php_gd2.dll" (instead of ";extension=php_gd2.dll").
  • the php_gd2.dll file must exist in the directory of PHP extensions. This directory is defined in the PHP.INI file by the "extension_dir" variable.
Component: wd260pnt.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment