PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • End of drawing
  • Pattern and PHP
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
Flips an image contained in an Image control with respect to a horizontal axis (symmetry with respect to a horizontal axis).
Example
// Symmetry of IMG_IMAGE1 with respect to a horizontal axis
MyResult is boolean
MyResult = IMG_IMAGE1.HorizontalSymmetry()
IF MyResult = False THEN Error("The operation failed")
Syntax
<Result> = <Image control>.HorizontalSymmetry()
<Result>: Boolean
  • True if the symmetry was performed,
  • False otherwise.
<Image control>: Control name
Name of the Image control to use.
The symmetry is performed in relation to the median horizontal axis of the control. The image is directly modified.
Remarks

End of drawing

The transformation of the image will not be displayed if <Image>.EndDrawing and <Image>.HorizontalSymmetry are called in the same process.
PHP

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 24
This page is also available for…
Comments
Click [Add] to post a comment