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...
<htmlNode variable>.InsertBefore (Function)
Adds a node before the specified node in an HTML document.
<htmlNode variable>.InsertLastChild (Function)
Adds a child after the child of the current node in an HTML document.
<htmlNode variable>.InsertFirstChild (Function)
Adds a child at the start of the children of the current node in an HTML document.
<htmlNode variable>.ModifyAttribute (Function)
Adds or changes an attribute of the current node of the HTML document.
<htmlNode variable>.Remove (Function)
Removes the specified node and its descendants in an HTML document.
<htmlNode variable>.RemoveAttribute (Function)
Removes a given attribute
<htmlNode variable>.RemoveChild (Function)
Removes a given node in the current node of an HTML document.
Constants used by the scanner functions
Constants used by the scanner functions...
<Scanner variable>.ToPDF (Function)
Saves a document from a scanner to a PDF file.
<Scanner variable>.Property (Function)
Used to get and change the characteristics of a scanner.
<Scanner variable>.WithUserInterface (Function)
Saves a document from a scanner to one or more files, using the scanner's user interface....
<Scanner variable>.ToImage (Function)
Retrieves a document from a scanner in a variable of type Image.
<PDF reader>.AddWatermark (Function)
Adds a watermark to all the pages of a PDF file in a PDF Reader control.
<pdfPage variable>.AddWatermark (Function)
Adds a watermark to a page of an existing PDF file.
<pdfDocument variable>.AddWatermark (Function)
Adds a watermark to all the pages of an existing PDF file.
<pdfPage variable>.AddImage (Function)
Adds an image to a page in an existing PDF file.
<HFSQL connection>.TransactionRollbackToSavepoint (Function)
Rolls the transaction back to the savepoint.
<HFSQL connection>.TransactionSavepoint (Function)
Declares a transaction savepoint.
<pdfDocument variable>.NbSignatures (Function)
Gets the number of signatures in a PDF document.
<PDF reader>.NbSignatures (Function)
Gets the number of signatures in a PDF Reader control.
<pdfDocument variable>.GetSignature (Function)
Gets the signature of a PDF document as a buffer.
<PDF reader>.GetSignatureDate (Function)
Gets the date of one of the signatures of a PDF document.
<pdfDocument variable>.GetSignatureDate (Function)
Gets the date of one of the signatures of a PDF document.
<PDF reader>.GetSignature (Function)
Gets the signature of a PDF document as a buffer.
<pdfDocument variable>.Save (Function)
Saves the content of a pdfDocument variable in a ".PDF" file.