ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing functions / Types of variables
  • Properties specific to the description of docElementFormula variables
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
The docElementFormula type is used to define the characteristics of a Formula element found in a docElement variable.
The characteristics of this formula can be defined and changed using different WLanguage properties.
CAUTION: This type cannot be used directly. It must be used via the docElement type.
Example
// Load the document
MyDoc is Document = "c:\temp\doc.docx"
elt is docElement
elt.Type = typeDocElementFormula
elt.Formula.Instruction = "DATE  \@ ""dddd d MMMM yyyy"""
DocAdd(MyDoc, elt)
Remarks

Properties specific to the description of docElementFormula variables

The following properties can be used to handle a Formula element:
Property nameType usedEffect
FormattingdocFormatting variableFormatting of formula result (color, font, ...).
InstructionCharacter stringFormula code.
ResultArray of docElement variablesResult of formula calculation. This result can correspond to several elements.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help