Home | Sign in | English UK
  • Properties specific to the description of docElementText variables
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
The docElementText type is used to handle the characteristics of a Text element found in a docElement variable.
The characteristics of this type of variable can be handled by several WLanguage properties.
CAUTION: This type cannot be used directly. It must be used via the docElement type.
Caution: This documentation presents the last features of the Word Processing control. Make sure that all the necessary modules are updated.

Properties specific to the description of docElementText variables

The following properties can be used to handle a docElementText variable:
Property nameType usedEffect
StyleInformation about the style of this element.
This property is available in read-only.
Style..VerticalAlignInteger constantVertical alignment of text in relation to the base line:
  • alignBaseline: The text is positioned on the base line.
  • alignSuperscript: The text is positioned in superscript.
  • alignSubscript: The text is positioned in subscript.
Style..UnderlineColorIntegerColor used to underline the text. This color can correspond to:
  • an RGB color (returned by RGB).
  • an HSL color (returned by HSL),
  • a preset color of WLanguage.
Style..HighlightColorIntegerColor used to highlight the text. Only the following colors are available:
  • Transparent
  • Black
  • LightBlue
  • LightCyan
  • LightGreen
  • LightMagenta
  • LightRed
  • LightYellow
  • White
  • DarkBlue
  • DarkCyan
  • DarkGreen
  • DarklMagenta
  • DarkRed
  • DarkYellow
  • LightGray
  • DarkGray
Style..TextColorIntegerText color. This color can correspond to:
  • an RGB color (returned by RGB).
  • an HSL color (returned by HSL),
  • a preset color of WLanguage.
  • True if the paragraph font is struck out,
  • False otherwise.
  • True if the paragraph font is bold,
  • False otherwise.
  • True if the paragraph font is italic,
  • False otherwise.
Style..FontNameCharacter stringModify the font used for the paragraph.
Style..FontUnderlinedInteger constantType of underline:
  • underlineNone: No underline
  • underlineDouble: Double underline
  • underlineThick: Thick underline
  • underlineWords: Underline words only
  • underlineDotted: Underline in dots
  • underlineDottedHeavy: Underline in heavy dots
  • underlineDotDotDash: Underline such as '..-' (dot dot dash)
  • underlineDotDotDashHeavy: Underline such as heavy '..-' (dot dot dash)
  • underlineDotDash: Underline such as '.-' (dot dash)
  • underlineDotDashHeavy: Underline such as heavy '.-' (dot dash)
  • underlineSingle: Single underline
  • underlineDash: Underline with dashes
  • underlineDashHeavy: Underline with heavy dashes
Style..FontSizeRealSize of font.
ValueCharacter stringText of element
Property nameType usedEffect
FormattingdocFormatting variableInformations for element formatting.
ValueCharacter stringText of element.

Remark: These properties can be handled by using one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum version required
  • Version 22
This page is also available for…
Click [Add] to post a comment