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
  • Limits
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Extended (Property)
In french: Etendu
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 property Extended allows you to:
  • Find out whether a Font variable is extended.
  • Extend (or not) 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.
  • 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.Etendu = True
// Appliquer la police au champ "MonChamp"
MyControl.Police = Police1
Syntax

Finding out whether a Font variable is extended Hide the details

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

Extending (or not) a Font variable Hide the details

<Font used>.Extended = <Extended/Not extended>
<Font used>: Font variable
Name of the Font variable to be used.
<Extended/Not extended>: Boolean
  • True if the specified font must be extended,
  • 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:

Limits

The properties that define character stretch options (Large, Extended and Condensed 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/2024

Send a report | Local help