ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

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.
Typecasting of parameters
The description of the parameter type is optional...
Local procedure
Two types of procedures are available...
<Pivot table>.Save (Function)
Saves the result of the calculation performed in a Pivot Table control (in a file or in memory).
<Pivot table>.Select (Function)
Allows you to find out the position of selected cells and to select cells in a Pivot Table control.
<Pivot table>.HeaderValue (Function)
Returns the value displayed in a header of Pivot Table control.
<Pivot table>.ToExcel (Function)
Creates an Excel file with data from a Pivot Table control.
<Image variable>.DrawTextRTF (Function)
Draws an RTF text in an Image variable.
<Image variable>.DrawText (Function)
Draws a text in an Image variable.
<Image variable>.Pen (Function)
Declares the default color and style for the lines, rectangles, circles, ... in an Image variable.
<Image variable>.Fill (Function)
Colors an area in an Image variable.
<Image variable>.DrawRectangleGradient (Function)
Draws a rectangle in an Image variable.
<Image variable>.DrawRoundedRectangle (Function)
Draws a rounded rectangle in an Image variable.
<Image variable>.DrawRectangle (Function)
Draws a rectangle in an Image variable.
<Image variable>.DrawSlice (Function)
Draws a section of a circle or an ellipse in an Image variable.
<Image variable>.DrawPolyline (Function)
Draws a line composed of multiple segments in an Image variable.
<Image variable>.DrawPolygon (Function)
Draws a polygon in an Image variable.
<Image variable>.Font (Function)
Declares the font that will be used by dText in an Image variable.
<Image variable>.DrawArc (Function)
Draws a circle arc or an ellipse arc in an Image variable.
<Image variable>.DrawBorder (Function)
Draws the borders in an Image variable.
<Image variable>.DrawCircle (Function)
Draws a circle or an ellipse in an Image variable.
<Image variable>.DrawChord (Function)
Draws the chord of a circle (intersection between an ellipse and a straight line) in an Image...
<Image variable>.Background (Function)
Declares the default background color for the rectangles and circles, ... used in an Image...
<Image variable>.DrawLine (Function)
Draws a line in an Image variable.
<Image variable>.DrawPoint (Function)
Draws a point in an Image variable.
<List variable>.Info (Function)
Retrieves the characteristics of a WLanguage list: types of elements and number of elements.
<Stack variable>.Push (Function)
Pushes an element onto the stack.
<Image variable>.ModifySaturation (Function)
Modifies the saturation of an image in an Image variable.