ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Font management properties
  • Field style: Select line spacing in the editor
  • Font variable
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The LineSpacing property gets and sets the line spacing for variables of type Font. The line spacing value corresponds to the multiplicative factor of the single line spacing.
Reminder: Line spacing is the space between lines of text.
Example
MaPolice is Font
MaPolice.Name = "arial"
MaPolice.SizeUnit = unitPoint
MaPolice.Size = 12
MaPolice.LineSpacing = 1.5
MaPolice.CharacterSpacing = 5
Syntax

Getting the line spacing of a variable of type Font Hide the details

<Result> = <Font>.Line spacing
<Result>: Real
Multiplicative factor of the single line spacing.
<Font>: Font variable
Name of the Font variable to be used.

Setting the line spacing of a variable of type Font Hide the details

<Font>.Line spacing = <Line spacing>
<Font>: Font variable
Name of the Font variable to be used.
<Line spacing>: Real
Multiplicative factor of the single line spacing.
Remarks

Field style: Select line spacing in the editor

You can define the font used for the different elements of the control in the "Style" tab of the control description window. You can also set the line spacing and character spacing for the current font in the font size settings.
Setting line spacing

Font variable

A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help