ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Font management properties
  • Font variable
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 stretch can be:
  • Normal: characters are normal.
  • Condensed: characters are narrower (Condensed property).
  • Extended: characters are wider (Extended property).
  • Large: characters are as wide as possible (Large property).
Example
// Define the characteristics of a Font variable
Font1 is Font
Font1.Name = "Arial"
Font1.Size = 14
Font1.Condensed = True
// Apply the font to "MyControl"
MyControl.Font = Font1
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

The properties that define character stretch options (Condensed, Extended and Large properties) are supported only if the specified Font variable is used for printing (print font or font of controls in a report).
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/2023

Send a report | Local help