PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of docFormatting 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 docFormatting type is used to define the formatting characteristics of an element found in a Word Processing document. The formatting characteristics can be defined and modified by several WLanguage properties.
CAUTION: This type cannot be used directly. It must be used via:
Remarks

Properties specific to the description of 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:
  • alignBaseline: The text is positioned on the base line.
  • alignSuperscript: The text is positioned in superscript.
  • alignSubscript: The text is positioned in subscript.
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.
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 corresponds to:
  • an RGB color (returned by RGB).
  • an HSL color (returned by HSL),
  • a preset color of WLanguage.
FontStrikeOutBoolean
  • True if the text font is struck out,
  • False otherwise.
FontBoldBoolean
  • True if the text font is bold,
  • False otherwise.
FontItalicBoolean
  • True if the text font is italic,
  • False otherwise.
FontNameCharacter stringName of font used for the text.
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
FontSizeRealSize of font.

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