PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Font variable
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Extended (Property)
In french: Etendu
Extended is used to:
  • Find out whether a Font variable is extended.
  • Extend (or not) a Font variable.
Remark: The width of the characters of a font can be:
  • Normal: the width of characters is normal.
  • Condensed: the width of characters is reduced (Condensed)
  • Extended: the width of characters is increased.
  • Large: the width of characters is increased to the maximum (Large)
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
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 Font variable to use.

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 use.
<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 for defining character stretching (properties Condensed, Extended and Large) are maintained only if the Variable of type Font specified is used for printing (print Font or Font of the fields of an 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