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 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 name | Type used | Effect |
---|
VerticalAlign | Integer constant | Vertical 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.
|
UnderlineColor | Integer | Color used to underline the text. This color can correspond to: |
HighlightColor | Integer | Color 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
|
TextColor | Integer | Text color. This color can correspond to: |
FontStrikeOut | Boolean | - True if the text font is struck through,
- False otherwise.
|
FontBold | Boolean | - True if the text font is bold,
- False otherwise.
|
FontItalic | Boolean | - True if the text font is in italics,
- False otherwise.
|
FontName | Character string | Name of font used for the text. |
FontUnderlined | Integer constant | Type 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
|
FontSize | Real | Size of font. |