PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of docTabulation 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 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 modified by several WLanguage functions and properties.
Note: See Declaring a variable for more details.
Example
MyDoc is Document = MyDocControl
// Retrieve the first paragraph
Parag is docParagraphe = 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 nameType usedEffect
FillCharacterCharacter stringFill character for the space before the tabulation.
In the docx documents, only the following characters are supported:
  • Empty characters (no fill character)
  • Dot,
  • Hyphen,
  • Underline,
  • Centered dot
This property corresponds to an empty character by default.
PositionRealPosition of the tabulation (in millimeters) from the left paragraph border (0 by default).
TypeOptional Integer constantType of tabulation to add:
  • tabTypeBar: A vertical bar will be displayed for the tabulation.
  • tabTypeCenter: The center of the 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.

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