ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing functions / Types of variables
  • Properties specific to docFormatting variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The docFormatting type is used to define the formatting characteristics of an element in a Word Processing document. Formatting characteristics can be defined and changed using different WLanguage properties.
CAUTION: This type must not be used directly. It must be used via:
Properties

Properties specific to docFormatting variables

The following properties can be used to handle the formatting:
Property nameType usedEffect
VerticalAlignInteger constantVertical alignment of text in relation to the base line:
  • alignmentBaseline Text is positioned on the baseline.
  • alignmentExponent Text is positioned in superscript.
  • alignmentIndex Text is positioned in index.
UnderlineColorIntegerColor used to underline the text. This color can correspond to:
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
TextColorIntegerText color. This color can correspond to:
FontStrikeOutBoolean
  • True if the text font is struck through,
  • False otherwise.
FontBoldBoolean
  • True if the text font is bold,
  • False otherwise.
FontItalicBoolean
  • True if the text font is in italics,
  • False otherwise.
FontNameCharacter stringName of font used for the text.
FontUnderlinedInteger constantType of underline:
  • underlinedNo: No underlining
  • underlinedDouble: Double underlining
  • thick underlining: thick underlining
  • underlinedWords: Underlining of words only
  • underlinedDotted: Dotted underlining
  • underlinedThick dotted: Thick dotted underlining
  • underlinePointDash Underline type '..-' (dot dot dash)
  • underlineDotDashThick Underline type '..-' (dot dot dash) thick
  • underlinePointTiret Underline type '.-' (dash point)
  • underlineThickDashPoint Underline type '.-' (dash point) thick
  • underlinedSimple: Simple underlining
  • underlinedTiret: Underlining with dashes
  • : Underline with thick dashes: Underline with thick dashes
FontSizeRealSize of font.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/01/2025

Send a report | Local help