The
docTabulation type is used to define the characteristics of a custom tabulation. This custom tabulation is associated with a paragraph included in a Word Processing document. The characteristics of this tabulation can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see
Declaring a variable.
MyDoc is Document = MyDocControl
// Retrieve the first paragraph
Parag is docParagraph = MyDoc.Paragraph[1]
// Tabulation at 3 cm
Tabul is docTabulation
Tabul.Position = 30
// Add the tabulation to the custom tabulations of paragraph
Add(Parag.PageLayout.CustomTabulation, Tabul)
Remarks
Properties specific to the description of docTabulation variables
The following properties can be used to handle a docTabulation variable:
| | |
Property name | Type used | Effect |
---|
FillCharacter | Character string or constant | Fill character for the space before the tabulation. This property can correspond to one of the following constants: - docTabulationCharacterNone: Empty character (no fill character).
- docTabulationCharacterDot: Dot.
- docTabulationCharacterMiddleDot: Centered dot.
- docTabulationCharacterUnderscore: Underlined.
- docTabulationCharacterHyphen: Hyphen.
This property corresponds to an empty character by default. |
Position | Real | Position of the tabulation (in millimeters) from the left paragraph border (0 by default). |
Type | Optional Integer constant | Type of tabulation to add:- tabTypeBar: A vertical bar will be displayed for the tabulation.
- tabTypeCenter: The center of text will be aligned on the tabulation.
- tabTypeDecimal: The decimal separator will be aligned on the tabulation.
- tabTypeRight: The right text border will be aligned on the tabulation.
- tabTypeLeft (Default value): The left text border will be aligned on the tabulation.
|