PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of docElementText variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
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.
Remarks

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 corresponds 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 corresponds to:
  • an RGB color (returned by RGB).
  • an HSL color (returned by HSL),
  • a preset color of WLanguage.
Style..FontStrikeOutBoolean
  • True if the paragraph font is struck out,
  • False otherwise.
Style..FontBoldBoolean
  • True if the paragraph font is bold,
  • False otherwise.
Style..FontItalicBoolean
  • 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.

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