ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Font management properties
  • Font variable
  • Limits
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
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.
Extended is used to:
  • Find out whether a Font variable is extended.
  • Extend (or not) a Font variable.
Remark: Stretched font characters can be:
  • Normal: characters are normal.
  • Condensed: characters are narrower (Condensed property).
  • Extended: the width of characters is increased.
  • 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.Extended = True
// Apply the font to "MyControl"
MyControl.Font = Font1
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 (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 the other cases (font used for the drawings, the charts or the 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: 05/26/2022

Send a report | Local help