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
  • Font variable
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Condensed (Property)
In french: Condensé
Warning
From version 27, this property is kept for backward compatibility. It is recommended to use the new CharacterSpacing property to manage character spacing.
The Condensed property is used to:
  • Determine whether a Font variable is condensed.
  • Condense a Font variable.
Remark: Font stretching can be:
  • Normal: character width is normal.
  • Condensed: character width is reduced (property Condensed).
  • Extended: character width is increased (property Extended).
  • Large: character width is increased to maximum (property Large).
Example
// Définir les caractéristiques d'une variable de type Police
Police1 is Font
Police1.Nom = "Arial"
Police1.Taille = 14
Police1.Condensé = True
// Appliquer la police au champ "MonChamp"
MyControl.Police = Police1
Syntax

Determining whether a Font variable is condensed Hide the details

<Result> = <Font>.Condensed
<Result>: Boolean
  • True if the specified font is condensed,
  • False otherwise.
<Font>: Font variable
Name of the Font variable to be used.

Condensing a Font variable Hide the details

<Font>.Condensed = <Condensed/Not condensed>
<Font>: Font variable
Name of the Font variable to be used.
<Condensed/Not condensed>: Boolean
  • True if the specified font must be condensed,
  • False otherwise.
Remarks

Font variable

A font can be created from a Font variable.
To define the font characteristics, use:
This font can be used:

Limitations

Properties used to define character stretching (Condensed, Extended and Large properties) are managed only if the specified Font type variable is used for printing (print font or report field font).
In other cases (fonts used for drawings, charts or window controls), these characteristics are ignored.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help