PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WEBDEV 27 feature!
  • Overview
  • New WLanguage functions
  • Improved WLanguage functions
  • New WLanguage properties
  • Improved WLanguage properties
  • New advanced types of WLanguage
  • Improved advanced WLanguage types
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
In version 27, new functions, properties and data types have been introduced and some have been improved.
New WLanguage functions
WEBDEV - Server codeWindows The new WLanguage functions in server code are as follows:
AIDetectDetects different elements in an image: object, faces, etc.
AIDetectModelRuns a trained neural network model on an image.
EmailExportHTMLRetrieves the HTML code of an Email to display it in an control HTML (control HTML, control HTML display, ...).
geoGetAddressRetrieves an address or a list of addresses corresponding to the description of a geographic location.
grHolePercentageModifies the percentage that corresponds the hole radius in the following charts:
  • Donut,
  • Radial Bar chart.
grStartAngleSets the starting angle of the first section in the following types of chart:
  • Pie, Semi-circular or Donut.
  • Sunburst.
  • Radial Bar chart.
gStoredValueAdds an "invisible" value to an element in a List Box, Combo Box or Scheduler control.
gStoredValueEnableAllows (or not) retrieving the value defined by gStoredValue in a List Box or a Combo Box control.
HClusterMasterNodeReturns the name of the master node in an HFSQL cluster.
HExporteChaîneJSONExporte une rubrique en chaine au format JSON
HRSFixServerNamePatcher le nom du serveur de la réplication suite à un changement physique du serveur
HTMLInsertAfterAdds a node after the specified node in an HTML document.
HTMLInsertBeforeAdds a node before the specified node in an HTML document.
HTMLInsertFirstChildAdds a child at the start of the children of the current node in an HTML document.
HTMLInsertLastChildAdds a child after the child of the current node in an HTML document.
HTMLModifyAttributeAdds or changes an attribute of the current node of the HTML document.
HTMLRemoveRemoves the specified node and its descendants in an HTML document.
HTMLRemoveAttributeRemoves a given attribute
HTMLRemoveChildRemoves a given node in the current node of an HTML document.
HTMLUnwrapAllChildrenDeletes the specified node in an HTML document without deleting its children, which take its place.
HTMLWrapWraps the specified node in a given node of an HTML document.
HTMLWrapAllChildrenWraps all children of the given node in a new node in an HTML document.
HTransactionRollbackToSavepointRolls the transaction back to the savepoint.
HTransactionSavepointDeclares a transaction savepoint.
JSONToXMLConverts a JSON string to XML.
LuhnCalculateCalculates the next Luhn check digit for a given sequence.
LuhnCheckChecks that the given sequence is valid according to the Luhn formula.
PDFAddImageAdds an image to a page in an existing PDF file.
PDFAddWatermarkAdds a watermark to all or some pages of an existing PDF file.
PDFGetSignatureGets the signature of a PDF document as a buffer.
PDFGetSignatureDateGets the date of one of the signatures of a PDF document.
PDFNbSignaturesGets the number of signatures in a PDF document.
PythonAddPathAdds the path to a directory or the path to the virtual environment to search for Python modules.
PythonExecuteExecutes a function present in a Python module.
PythonInitializeSpecifies the location of the Python DLL to be loaded.
PythonTerminateUnloads the Python DLL and frees memory.
RedisGetGets the value of a key from a Redis server as a string.
RedisSetChanges the value of a key on a Redis server.
RegexReplaceReplaces all the parts of a string that follow a specific format.
RegexSearchSearches for all the parts of a string that follow a specific format.
RegistryCopyKeyCopies a registry key with all its subkeys and values.
RegistryListKeyLists the sub-keys of a registry key.
RegistryRenameRenames a key in the registry.
StringDeleteDuplicateRemoves duplicates among substrings of a string, based on one or more separators.
StringToNumReturns the numeric value of a character string. This feature enables you to perform numeric calculations on the character strings.
TableSearchPartoutSearches for a value in all columns of the following fields:
  • Table control,
  • TreeView Table control,
  • Table control displayed in an Combo Box control.
XMLToJSONConverts an XML string to JSON.
The new WLanguage functions (prefix syntax) in Server code are as follows:
<Ansi string type>.DeleteDuplicateRemoves duplicates among substrings of a string, based on one or more separators.
<Ansi string type>.ToNumReturns the numeric value of a character string. This feature enables you to perform numeric calculations on the character strings.
<Chart>.HolePercentageModifies the percentage that corresponds the hole radius in the following charts:
  • Donut,
  • Radial Bar chart.
<Chart>.StartAngleSets the starting angle of the first section in the following types of chart:
  • Pie, Semi-circular or Donut.
  • Sunburst.
  • Radial Bar chart.
<HFSQL connection>.TransactionRollbackToSavepointRolls the transaction back to the savepoint.
<HFSQL connection>.TransactionSavepointDeclares a transaction savepoint.
<htmlNode variable>.InsertAfterAdds a node after the specified node in an HTML document.
<htmlNode variable>.InsertBeforeAdds a node before the specified node in an HTML document.
<htmlNode variable>.InsertFirstChildAdds a child at the start of the children of the current node in an HTML document.
<htmlNode variable>.InsertLastChildAdds a child after the child of the current node in an HTML document.
<htmlNode variable>.ModifyAttributeAdds or changes an attribute of the current node of the HTML document.
<htmlNode variable>.RemoveRemoves the specified node and its descendants in an HTML document.
<htmlNode variable>.RemoveAttributeRemoves a given attribute
<htmlNode variable>.RemoveChildRemoves a given node in the current node of an HTML document.
<htmlNode variable>.UnwrapAllChildrenDeletes the specified node in an HTML document without deleting its children, which take its place.
<htmlNode variable>.WrapWraps the specified node in a given node of an HTML document.
<htmlNode variable>.WrapAllChildrenWraps all children of the given node in a new node in an HTML document.
<PDF reader>.AddWatermarkAdds a watermark to all the pages of a PDF file in a PDF Reader control.
<PDF reader>.GetSignatureGets the signature of a PDF document as a buffer.
<PDF reader>.GetSignatureDateGets the date of one of the signatures of a PDF document.
<PDF reader>.NbSignaturesGets the number of signatures in a PDF Reader control.
<pdfDocument variable>.AddWatermarkAdds a watermark to all the pages of an existing PDF file.
<pdfDocument variable>.NbSignaturesGets the number of signatures in a PDF document.
<pdfDocument>.GetSignatureGets the signature of a PDF document as a buffer.
<pdfDocument>.GetSignatureDateGets the date of one of the signatures of a PDF document.
<pdfDocument>.SauveSauve le contenu d'une variable de type pdfDocument dans un fichier ".PDF".
<pdfPage variable>.AddImageAdds an image to a page in an existing PDF file.
<pdfPage variable>.AddWatermarkAdds a watermark to a page of an existing PDF file.
<redisConnection>.AssignChanges the value of a key on a Redis server.
<redisConnection>.RecoverGets the value of a key from a Redis server as a string.
<Table>.SearchPartoutSearches for a value in all columns of the following fields:
  • Table control,
  • TreeView Table control,
  • Table control displayed in an Combo Box control.
WEBDEV - Server codeLinux The new WLanguage functions for WEBDEV in Linux are as follows:
AIDetectDetects different elements in an image: object, faces, etc.
AIDetectModelRuns a trained neural network model on an image.
EmailExportHTMLRetrieves the HTML code of an Email to display it in an control HTML (control HTML, control HTML display, ...).
geoGetAddressRetrieves an address or a list of addresses corresponding to the description of a geographic location.
grHolePercentageModifies the percentage that corresponds the hole radius in the following charts:
  • Donut,
  • Radial Bar chart.
grStartAngleSets the starting angle of the first section in the following types of chart:
  • Pie, Semi-circular or Donut.
  • Sunburst.
  • Radial Bar chart.
gStoredValueAdds an "invisible" value to an element in a List Box, Combo Box or Scheduler control.
gStoredValueEnableAllows (or not) retrieving the value defined by gStoredValue in a List Box or a Combo Box control.
HClusterMasterNodeReturns the name of the master node in an HFSQL cluster.
HExporteChaîneJSONExporte une rubrique en chaine au format JSON
HRSFixServerNamePatcher le nom du serveur de la réplication suite à un changement physique du serveur
HTMLInsertAfterAdds a node after the specified node in an HTML document.
HTMLInsertBeforeAdds a node before the specified node in an HTML document.
HTMLInsertFirstChildAdds a child at the start of the children of the current node in an HTML document.
HTMLInsertLastChildAdds a child after the child of the current node in an HTML document.
HTMLModifyAttributeAdds or changes an attribute of the current node of the HTML document.
HTMLRemoveRemoves the specified node and its descendants in an HTML document.
HTMLRemoveAttributeRemoves a given attribute
HTMLRemoveChildRemoves a given node in the current node of an HTML document.
HTMLUnwrapAllChildrenDeletes the specified node in an HTML document without deleting its children, which take its place.
HTMLWrapWraps the specified node in a given node of an HTML document.
HTMLWrapAllChildrenWraps all children of the given node in a new node in an HTML document.
HTransactionRollbackToSavepointRolls the transaction back to the savepoint.
HTransactionSavepointDeclares a transaction savepoint.
JSONToXMLConverts a JSON string to XML.
LuhnCalculateCalculates the next Luhn check digit for a given sequence.
LuhnCheckChecks that the given sequence is valid according to the Luhn formula.
PDFAddImageAdds an image to a page in an existing PDF file.
PDFAddWatermarkAdds a watermark to all or some pages of an existing PDF file.
PDFGetSignatureGets the signature of a PDF document as a buffer.
PDFGetSignatureDateGets the date of one of the signatures of a PDF document.
PDFNbSignaturesGets the number of signatures in a PDF document.
PythonAddPathAdds the path to a directory or the path to the virtual environment to search for Python modules.
PythonExecuteExecutes a function present in a Python module.
PythonInitializeSpecifies the location of the Python DLL to be loaded.
PythonTerminateUnloads the Python DLL and frees memory.
RedisGetGets the value of a key from a Redis server as a string.
RedisSetChanges the value of a key on a Redis server.
RegexReplaceReplaces all the parts of a string that follow a specific format.
RegexSearchSearches for all the parts of a string that follow a specific format.
SocketConnectSSLUsed to establish a secure connection to an SSL server.
StringDeleteDuplicateRemoves duplicates among substrings of a string, based on one or more separators.
StringToNumReturns the numeric value of a character string. This feature enables you to perform numeric calculations on the character strings.
TableSearchPartoutSearches for a value in all columns of the following fields:
  • Table control,
  • TreeView Table control,
  • Table control displayed in an Combo Box control.
XMLToJSONConverts an XML string to JSON.
The new WLanguage functions (prefix syntax) for WEBDEV in Linux are as follows:
<Ansi string type>.DeleteDuplicateRemoves duplicates among substrings of a string, based on one or more separators.
<Ansi string type>.ToNumReturns the numeric value of a character string. This feature enables you to perform numeric calculations on the character strings.
<Chart>.HolePercentageModifies the percentage that corresponds the hole radius in the following charts:
  • Donut,
  • Radial Bar chart.
<Chart>.StartAngleSets the starting angle of the first section in the following types of chart:
  • Pie, Semi-circular or Donut.
  • Sunburst.
  • Radial Bar chart.
<HFSQL connection>.TransactionRollbackToSavepointRolls the transaction back to the savepoint.
<HFSQL connection>.TransactionSavepointDeclares a transaction savepoint.
<htmlNode variable>.InsertAfterAdds a node after the specified node in an HTML document.
<htmlNode variable>.InsertBeforeAdds a node before the specified node in an HTML document.
<htmlNode variable>.InsertFirstChildAdds a child at the start of the children of the current node in an HTML document.
<htmlNode variable>.InsertLastChildAdds a child after the child of the current node in an HTML document.
<htmlNode variable>.ModifyAttributeAdds or changes an attribute of the current node of the HTML document.
<htmlNode variable>.RemoveRemoves the specified node and its descendants in an HTML document.
<htmlNode variable>.RemoveAttributeRemoves a given attribute
<htmlNode variable>.RemoveChildRemoves a given node in the current node of an HTML document.
<htmlNode variable>.UnwrapAllChildrenDeletes the specified node in an HTML document without deleting its children, which take its place.
<htmlNode variable>.WrapWraps the specified node in a given node of an HTML document.
<htmlNode variable>.WrapAllChildrenWraps all children of the given node in a new node in an HTML document.
<PDF reader>.AddWatermarkAdds a watermark to all the pages of a PDF file in a PDF Reader control.
<PDF reader>.GetSignatureGets the signature of a PDF document as a buffer.
<PDF reader>.GetSignatureDateGets the date of one of the signatures of a PDF document.
<PDF reader>.NbSignaturesGets the number of signatures in a PDF Reader control.
<pdfDocument variable>.AddWatermarkAdds a watermark to all the pages of an existing PDF file.
<pdfDocument variable>.NbSignaturesGets the number of signatures in a PDF document.
<pdfDocument>.GetSignatureGets the signature of a PDF document as a buffer.
<pdfDocument>.GetSignatureDateGets the date of one of the signatures of a PDF document.
<pdfDocument>.SauveSauve le contenu d'une variable de type pdfDocument dans un fichier ".PDF".
<pdfPage variable>.AddImageAdds an image to a page in an existing PDF file.
<pdfPage variable>.AddWatermarkAdds a watermark to a page of an existing PDF file.
<redisConnection>.AssignChanges the value of a key on a Redis server.
<redisConnection>.RecoverGets the value of a key from a Redis server as a string.
<Table>.SearchPartoutSearches for a value in all columns of the following fields:
  • Table control,
  • TreeView Table control,
  • Table control displayed in an Combo Box control.
PHP The new WLanguage functions for PHP are as follows:
grHolePercentageModifies the percentage that corresponds the hole radius in the following charts:
  • Donut,
  • Radial Bar chart.
grStartAngleSets the starting angle of the first section in the following types of chart:
  • Pie, Semi-circular or Donut.
  • Sunburst.
  • Radial Bar chart.
gStoredValueAdds an "invisible" value to an element in a List Box, Combo Box or Scheduler control.
gStoredValueEnableAllows (or not) retrieving the value defined by gStoredValue in a List Box or a Combo Box control.
StringToNumReturns the numeric value of a character string. This feature enables you to perform numeric calculations on the character strings.
The new WLanguage functions (prefix syntax) for PHP are as follows:
<Ansi string type>.ToNumReturns the numeric value of a character string. This feature enables you to perform numeric calculations on the character strings.
<Chart>.HolePercentageModifies the percentage that corresponds the hole radius in the following charts:
  • Donut,
  • Radial Bar chart.
<Chart>.StartAngleSets the starting angle of the first section in the following types of chart:
  • Pie, Semi-circular or Donut.
  • Sunburst.
  • Radial Bar chart.
WEBDEV - Browser code The new WLanguage functions for WEBDEV in browser code are as follows:
grStartAngleSets the starting angle of the first section in the following types of chart:
  • Pie, Semi-circular or Donut.
  • Sunburst.
  • Radial Bar chart.
StringToNumReturns the numeric value of a character string. This feature enables you to perform numeric calculations on the character strings.
TableInfoXYReturns for a given position in a Table or TreeView Table control (coordinates of a control point):
  • the name of the column displayed for the specified position.
  • the index of the row or column for the specified position.
WebSocketClientConnectAllows you to establish a connection with a Websocket server.
WebSocketClientConnectSSLSe connecte à un serveur de WebSocket sécurisé.
The new WLanguage functions (prefix syntax) for WEBDEV in browser code are as follows:
<Ansi string type>.ToNumReturns the numeric value of a character string. This feature enables you to perform numeric calculations on the character strings.
<Chart>.StartAngleSets the starting angle of the first section in the following types of chart:
  • Pie, Semi-circular or Donut.
  • Sunburst.
  • Radial Bar chart.
<Table>.InfoXYReturns for a given position in a Table or TreeView Table control (coordinates of a control point):
  • the name of the column displayed for the specified position.
  • the index of the row or column for the specified position.
Improved WLanguage functions
WEBDEV - Server codeWindowsLinux The following functions have been modified in this version:
EncryptStandardIt is now possible to specify the initialization vector to be used.
HashStringManage hash-derived keys with a salt (PBKDF2).
HashFileManage hash-derived keys with a salt (PBKDF2).
HashCheckStringManage hash-derived keys with a salt (PBKDF2).
HashCheckFileManage hash-derived keys with a salt (PBKDF2).
iParameterPDF
  • New constant to generate black-and-white PDF files.
  • New syntax to use pdfParameter variables.
RegistrySeekAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistrySeekAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryNextKeyAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryCopyKeyAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryCreateKeyAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistrySetValueAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryExistAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryListKeyAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryListValueAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryQueryValueAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryFirstSubKeyAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryRenameAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryDeleteKeyAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryDeleteValueAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
RegistryValueTypeAbility to choose the registry access mode: 32-bit applications can also access the 64-bit Registry, and vice versa.
SOAPAddHeaderNew syntax to add an XML node to a SOAP web service header.
New WLanguage properties
WEBDEV - Server codeWindows The new WLanguage properties for WEBDEV applications are as follows:
BlurLevelThe BlurLevel property gets and changes the percentage of blur applied to a control in a report.
HiddenThe Hidden is used to:
  • Determine if a control in a report is hidden.
  • Redact or blur a control in a report.
WEBDEV - Server codeLinux The new WLanguage properties for WEBDEV applications on Linux are as follows:
HiddenThe Hidden is used to:
  • Determine if a control in a report is hidden.
  • Redact or blur a control in a report.
WEBDEV - Browser code The new WLanguage properties in browser code are as follows:
Improved WLanguage properties
WEBDEV - Server codeWindowsLinux The following properties have been modified in this version:
FicCryptMethodThis property now supports both AES-192 and AES-256.
MmoCryptMethodThis property now supports both AES-192 and AES-256.
NdxCryptMethodThis property now supports both AES-192 and AES-256.
New advanced types of WLanguage
WEBDEV - Server codeWindows The new WLanguage types for WEBDEV applications are as follows:
aiImageResultThe aiImageResult type is used to retrieve the result of AIDetect.
aiNeuralNetworkModelThe aiNeuralNetworkModel type is used to define all the advanced characteristics of a neural network used by AIDetectModel.
JSONXMLConverterThe JSONXMLConverter type is used to define all the advanced characteristics of the conversion of an XML object to JSON (or conversely) via XMLToJSON and JSONToXML).
WEBDEV - Server codeLinux The new WLanguage types for WEBDEV applications on Linux are as follows:
aiImageResultThe aiImageResult type is used to retrieve the result of AIDetect.
aiNeuralNetworkModelThe aiNeuralNetworkModel type is used to define all the advanced characteristics of a neural network used by AIDetectModel.
JSONXMLConverterThe JSONXMLConverter type is used to define all the advanced characteristics of the conversion of an XML object to JSON (or conversely) via XMLToJSON and JSONToXML).
WatermarkThe Watermark type is used to handle the text printed in watermark in the reports created with the report editor or through programming.
Improved advanced WLanguage types
WEBDEV - Server codeWindowsLinux The following advanced types have been improved for WEBDEV applications:
API descriptionNew parameter types supported.
Minimum version required
  • Version 27
Comments
Click [Add] to post a comment