ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Calling a procedure/a function
Syntax for calling a local or global procedure.
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Passing parameters
The parameters can be passed to a procedure...
Parameters of a procedure with a variable number of parameters
When the procedure uses a variable number of parameters, you must be able to handle the different parameters passed to the function in the code of the procedure.
Local procedure
Two types of procedures are available...
Typecasting of parameters
The description of the parameter type is optional...
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
MapDeleteShape (Function)
Deletes a shape drawn on the map displayed in an Map control.
MapModifyShape (Function)
Modifies a shape drawn on the map displayed in a Map control.
DateTimeToString (Function)
Converts a DateTime to string in the specified format.
zipExtractDirectory (Function)
Automatically extracts and decompresses files from a directory in the file tree of an archive...
MapAddImage (Function)
Adds a new image to the map displayed in a Map control.
MapModifyImage (Function)
Modifies an image drawn on the map displayed in a Map control.
MapDeleteImage (Function)
Deletes an image drawn on the map displayed in a Map control.
MapAddShape (Function)
Adds a new shape (polygon, line, circle) to the map displayed in a Map control.
MapDisplayArea (Function)
Moves the map displayed in the Map control so that the specified geographic area can be seen...
MapLimitArea (Function)
Limits the geographic area displayed in the Map control.
MapDisplayPopup (Function)
Opens the popup of a marker displayed in a Map control.
MapClosePopup (Function)
Closes the popup of a marker displayed in the Map control.
MapPopupDisplayed (Function)
Indicates whether the popup of a marker in a Map control is displayed.
MapChangeStyle (Function)
Changes the style of the map displayed in the Map control.
MapGetStyle (Function)
Returns the style used by the map displayed in the Map control.
OCRExtractText (Function)
Reads the text contained in an image.
OCRModelPathDirectory (Function)
Used to set the directory that contains the language models for the native OCR system.
OCRParameter (Function)
Initializes the general options of the native OCR (Optical Character Recognition) system.
ErrorReset (Function)
Resets the detection of non-fatal errors: The result of ErrorInfo is reset. The ErrorOccurred...
OCRExtractTextBlock (Function)
Returns all the text blocks of an image.
OCRDetectTextArea (Function)
Returns all text areas of an image without reading the text.
OCRAddLanguage (Function)
Adds a language to the native OCR system.
OCRDeleteAllLanguages (Function)
Deletes all languages from the native OCR system.
StyleDrawCaptionGrayed (Function)
Customizes how text is drawn in grayed out controls.
geoGetArea (Function)
Retrieves the coordinates of the geographic area that corresponds to a given description.